Tuesday, February 12, 2013

LAB #5

so I took my lab #4 and and added a digital temporary push-button (normally open style in terms of the sequence).  Also added a pulsing LED to signify when the button should be pushed in order to trigger the sequence.
I removed the digitalWrite information for the sequencing LED's when the digital trigger reads : 1 (i.e. button open).
Because there is no conclusion as to what happens to the sequence when the button is not pressed, the sequence freezes in place.  Pressing the button acts as a hold-release for the sequence.

 

here's the code for it (i tried to put all the new code for this project in between lines of ////////////////  but I think I forgot to add the   ////////'s  a couple places).









 the end.


No comments:

Post a Comment