I bought a Peggy 2.0
LED pegboard from the evil mad scientist over at
www.evilmadscientist.com.
It's a fun little 25x25 array of LEDs driven by an AVR ATMega168. The LEDs are
individually addressable but you can activate only one row at a time, so to make
them all appear to light at the same time your software has to scan rapidly
through the rows in sequence. By pulsing the LEDs on each row at different rates,
you create a kind of low resolution grayscale display screen.
Evil, mad Windell Oskay wrote some demo programs for Peggy 2.0, including
a nice version of John Conway's
Game of Life, shown in the picture at the left. I wanted to see what else I could
get it to do, so here are a few demos I wrote.
Click on the pictures below for the source files.
|