March Madness - Blink AVR

Not a very big program but with Keith's help, I got direct AVR working using Eclipse on the Mac. Thanks also to John for his help the other day.


/*
 * HelloBlink.c
 *
 *  Created on: Feb 25, 2010
 *      Author: msproul
 */

#define	F_CPU	4000000

#include	
#include	
int main(void)
{
	DDRB	=	0xff;

	while (1)
	{

		PORTB	^=	0xff;
		_delay_ms(500);
	}
}