Using the code provided we copy and pasted the code into Arduino and began modifying the code to achieve each kind of blinking LED.
In A, We modified the code to keep the LED on without it shutting off. Below is a video of the LED on without shutting off.
In B, We modified the code to keep the LED off without ever going on. Below is a video of the LED staying off without turning on.
In C, We modified the code to have the LED go on for 15 seconds and then go off for 3 seconds, Below is the video of the LED staying on for 15 seconds and then going off for 3 seconds.
In D, We had to modify the code to have the LED go on for a second , then go off for a second, then on for 5 seconds and off for a second. Below is a video of the LED going on for a second , then going off for a second, then going on for 5 seconds and off for a second
No comments:
Post a Comment