/* * Blink13.c * * Created: 12/11/2015 23:21:09 * Author : viper */ //#define F_CPU 16000000L // Specify oscillator frequency #include #include #include int main(void) { atmel_start_init(); DDRB = 0b00100000; // configure pin 5 of PORTB as output (digital pin 13 on the Arduino Uno) while(1) { PORTB = 0b00100000; // set 5th bit to HIGH _delay_ms(1000); PORTB = 0b00000000; // set 5th bit to LOW _delay_ms(1000); } }