What are you trying to do in the
for (int i=0;i<1;)
block? And your comments say something about modulo but I don't see it...
Why not just put an if block for each button press / color you want and cycle back when done?
What are you trying to do in the
for (int i=0;i<1;)
block? And your comments say something about modulo but I don't see it...
Why not just put an if block for each button press / color you want and cycle back when done?