Changes

Classes/2010/VIS147A/Lab7

56 bytes removed, 16:41, 23 February 2010
Part 3 - For Loop, Iteration
* Open File->Sketchbook->Examples->Control->ForLoopIteration. This program is similar to the single input above, however with multiple outputs at once. It uses a <code>loop</code> statement to run across a series of pins rather than having to write each output as a separate line.
* Compile, upload, and run the loop example.
* Try changing the value of the <code>timer</code> variable. As the comment in the program says, <code>// The higher the number, the slower the timing.</code>. Conversely, the smaller the value the faster the timing.* Experiment with shorter and shorter timing until At what value of <code>timer</code> do the point at which you are no longer able lights appear to discern individual LEDs turning stay on and offcontinuously? ____. * Remember my multiplexed display example in class, I was technically turning each column on one-at-a-time, but past a point it looked as if the whole smiley-face image was on non-stop. This has to do with the idea of [http://en.wikipedia.org/wiki/Persistence_of_vision persistence of vision]. At what value for <code>timer</code> does it appear that all LEDs are on continually ____.* More examples Examples of displays utilizing POV:
** http://www.ladyada.net/make/minipov3/index.html
** bike wheel poke POV http://www.instructables.com/id/SpokePOV%3a-LED-Bike-Wheel-Images/