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. 



No comments:

Post a Comment