i'd like to do this with 1 button and only 3 led's what would the code look like for that ?
In the second program changeint numberOfLED = 5; toint numberOfLED = 3;and use first 3 LED.
For the array I get the following errors, what's going on? Button_Press-_Next_LED:1: error: expected unqualified-id before numeric constant 1: // www.mekanizmalar.com ^Button_Press-_Next_LED:9: error: expected unqualified-i
Cut and Paste operation takes the line numbers also. Please delete all the line numbers from Arduino program after pasting it.
Add a comment or brief description of this mechanism in your language.
LEGIT Comments will be displayed in 24 hours.
Leave this empty: