Hello AACs ..
I am totally new to Arduino, just bear with me please ...
I was trying to code a simple arduino game that can read the resultant number from the player's mind, simple and pure mathematics which will always yield the number "3". Problem is, I would like to hang the code until the user types "ok" then presses ENTER in the serial monitor window, but after the program reaches the line :
Unwanted looping in Arduino code!!
I am totally new to Arduino, just bear with me please ...
I was trying to code a simple arduino game that can read the resultant number from the player's mind, simple and pure mathematics which will always yield the number "3". Problem is, I would like to hang the code until the user types "ok" then presses ENTER in the serial monitor window, but after the program reaches the line :
Code (Text):
- Serial.println("Type ""ok"" and press ENTER when you've already choosen a number . . ....