Different Modes and Arduino? Answered
I had a question.
I want to have like 5 buttons and every time I press one button it runs a certain block of code over and over until I press another button. This way I can have different modes etc. mode 1, mode 2. . .
Can somebody help me with the code please?