Thursday, April 28, 2016

Keep a Light On

Today we used the previous "blinker" code to make a red LED blink on and off. We followed all the provided steps. We had one error when attempting to get the red LED to blink, which was having the red jumper wire in the wrong hole. We plugged the jumper wire into the correct hole and we ran the "Blinker" code and the red LED began blinking. Below is a video.



Tuesday, April 26, 2016

Modify Blink


First, We modified the program so that the light would stay off. Below is the code we wrote to keep the Light off.



Then, we modified the original code so that the light will stay on for one second and go off for 5 seconds. Below is the code we wrote to have the light stay on for one second and stay off for 5 seconds. Below the code is a video of the Light staying on for one second and going off for 5 seconds.







Finally, we modified the program to stay on for 10 seconds and to go off for one second. Below are the modified code and Below the Modified code is the video of the light staying on for 5 seconds and going off for one second. 



Blink a Light

Today we copy and pasted the code given into the Arduino Software in order to make the yellow onboard LED next to port 13 blink on and off. We had a few errors with the code but we managed to get the code to run and the Yellow LED began blinking after we reset the computer. Below is a video of the Yellow LED blinking on and off.