Talk:Avr2011 Programming The Kit
From HacDC Wiki
I find it helpful to flash the chip with a simple program to turn on all LED's just to ensure all of your LED's work before moving on just in case you put an LED in backwards.
Light Em' Up Program
- include <avr/io.h>
- define F_CPU 8000000UL
- include <util/delay.h>
void main(void){
DDRB = 0b11111111;
while(1){ PORTB = 0b11111111; }
}