#include <avr/io.h> #include <util/delay.h> int main (void) { DDRB |= _BV(DDB4); while(1) { PORTB ^= _BV(PORTB4); _delay_ms(500); } }