Hi
we need to make a stop it game for school but i really don't know what the problem is in my code.
The goal of the game is to press a button when the right led is on. if you press when the wrong led is burning you lose.
somehow nothing happends when i press my button.
can someone help me or explain me what i'm doing wrong
stopItGame.ino (2.58 KB)