Reference Links
Topics
Programming Prior Class Pages
PM Wiki |
Main /
Class3OutlineProgramming the Arduino Now that we have a basic button and LED circuit set up on our breadboards, the next step is to start programming some interaction.
We will start with the same code and use our Arduinos to log data from our custom made-switches. The next move is to learn about timing with the Millis() function. Its a little trickier so we will go over it several times. _03_01_digital_input_sketch.ino - uses a "FOR" loop to blink an LED a bunch of times Use of Millis() is also covered in the Arduino Examples you downloaded as part of the software. In Arduino, go to "File--> Examples-->02.Digital" and start with "BlinkWithoutDelay". Then do the "Button" and "Debounce" examples. The Rube Goldberg Machine OK Go Video - This Too Shall Pass http://www.youtube.com/watch?v=qybUFnY7Y8w Syringe Egg Yolk Remover http://www.flickr.com/photos/fxy/3260972797/ |