I've been playing around with microcontrollers lately, more specifically AVRs.
I also bought a 128x64 pixel graphical LCD (KS0108 controller) lately to hook up to one of the AVRs.
The ATmega168 didn't have enough memory to store an internal pixel buffer, so I used the ATmega32 instead which has 2KB RAM instead of 1KB, the pixel buffer requires exactly 1KB RAM.
After various problems and stupid mistakes I finally got the basic LCD drawing functions working, including bitmap rendering.
Then what? I had a working LCD controller, but what should I do with it?
So I decided to write a simple breakout-style game!
Three buttons and a bunch of code later and it was working.

You can find the full source here [Bz2] and a bunch of pictures:
LCD working
Sine wave
Breakout playing
Breakout start

Frigolit2009-07-19 16:33:470