Issue with code for memory game on vex testbed


attached is a pic of the issue but basically, the output it produces is meant to be 1-4 but is coming back as 100+

This is a little hard to diagnose without seeing the rest of the code but from this screenshot I can tell you that unless the input variable is being reset every second, then each time you press the 4 input buttons it just keeps adding value to the input variable.

yeah after messing with it over the weekend I found of if I set it to wait 1 sec before it runs the input code it works. but like normal with vex stuff the error wasn’t in the product instead it was in the user

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.