I need to write a program to do the following with Arduino:
a. turn on the red light for 1 second
b. turn off the red light
c. turn on the blue light for 2 seconds
d. turn off the blue light
e. repeat
I need to write a program to do the following with Arduino:
a. turn on the red light for 1 second
b. turn off the red light
c. turn on the blue light for 2 seconds
d. turn off the blue light
e. repeat
I suggest you also look at the following posts too before you get too used to using DELAY()..... a bad habit
I suggest you also look at the following posts too before you get too used to using DELAY()..... a bad habit