Thursday, April 28, 2016

Modify a Blink- Day 1 Continued




Modify a Blink - Day 2 



                                              

 Today we continued to modify the light 13 on the board of the arduino.  With the second challenge,  we had to modify the code so that it would keep the light on forever. To do this, we removed the last 3 lines of code on the loop function of challenge 1.  We then had to use the delay function (The delay(1000) command delays the computer for 1000 milliseconds) we then modified the code so that the light would stay on for 10 seconds and go off for one and loop.

No comments:

Post a Comment