/*
 * sample AVR C programm
 */

#include <avr/io.h>
#define F_CPU 1000000
#include <util/delay.h>

#if (__AVR_LIBC_VERSION__ < 10701UL)
# error We need at least AVR Libc Version 1.7.1
#endif

int main (void) {
	/* port B0..B5 outputs */
	DDRB  = 0x3F;
	/* B0..B2=1  B3..B5=0 */
	PORTB = 0x07;

	for (;;) {
		PORTB = PORTB ^ 0xFF ;
		_delay_ms(500) ;
	}
}
