I connected the Infrared receiver to port 3 and both M1 and M2 on the base shield, which is stacked onto a mega 2560.
The code is modified so that after pushing the menu button on the IR, the motors will move in a certain pattern.
My problem is:
If I press the button twice the code for the motors will be executed twice in a row.
Is there anyway I can get the base shield to read the IR, execute the code pattern and during that time ignore all sort of other IR input until the pattern is done, THEN listen again for further IR input?
Thanks!