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