http://forums.ladyada.net/viewtopic.php?t=5973&sid=e5dbee383a0b08a0283383736fa70d35

today i ported the 1.1 code to the mega16. 

Hardware (TQFP 44): 
ATMega16 has 44 pins: 
pin 1 MOSI 
pin 2 MISO 
pin 3 SCK 
pin 4 RESET - connect via Switch to ground 
pin 5 VCC 
pin 6 GND 
pin 7 XTAL1 - connect 8 MHz Xtal 
pin 8 XTAL2 - connect 8 MHz Xtal 
pin 12 LED (PD3) 
pin 16 OC2 (PD7) - IR emitter, through a PN2222A driver (with 120 ohm base resistor) 
