Chapter 3. Digital Output

If you got the project from Chapter 2 running, you’ve gotten yourself a little bit familiar with the AVR toolchain. You’ve hooked up a simple circuit on the breadboard, and you’ve seen the first sweet blinkies of success! Now you’re ready to take the next step: even more blinkies blinking even faster, and looking at what’s going on under the hood.

The project for this chapter is a persistence-of-vision (POV) pattern generator. By turning eight LEDs on and off really quickly, the POV toy exploits your eye’s slow response to light in order to draw patterns that seem to float in midair when you scan your eyes across the LEDs. For an example of how this looks, see Figure 3-1. POV toys are fun, and you’ll have something ...

Get Make: AVR Programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.