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
Is this for a test, homework or just for your own experimentation.
The task is not hard, and there are plenty of resources within the internet.
It is always better that you learn and understand how to do something, because usually the task gets more complicated later.
Since you haven't included any code, or where you got stuck, I'm assumming you haven't tried doing it your self.
Mark
Is this for a test, homework or just for your own experimentation.
The task is not hard, and there are plenty of resources within the internet.
It is always better that you learn and understand how to do something, because usually the task gets more complicated later.
Since you haven't included any code, or where you got stuck, I'm assumming you haven't tried doing it your self.
Mark