- #1
nothing909
- 170
- 4
Homework Statement
I'm using a microcontroller to create a pong game, but I'm completely new to C programmning. I'm mostly reusing code and adding bits in here and there rather than writing it from scratch.
I have a basic pong game working right now, but every time someone scores, I have to reset the program manually.
How do I write the code to reset the program using a button on the microcontroller so it will go back to the main function?