it have a stoplight that i want to change between different programs, i want to run one program and when i press a button i run a different program. right now i have a potentiometer that changes how much time there is between each light change and i want to press a button and have the red light flash. can someone please show or tell me what to do, my code is in the attachment. i am also using a relay shield to switch the lights.
stoplight.ino (607 Bytes)