AVR
From Bloominglabs
AVR - ATMega code examples
[Blinky.tgz] Here is the blinky.c file, avrdude.conf, and Makefile to program the AVR chips we played with on 9-1. You need to edit the avrdude.conf and Makefile to point to relevant locations on your installation.
[Avr-examples.tgz] - counter.c, pwm.c, pwm2.c, random.c