/* Blink Turns one LED on for one tenth of the second, then off for one tenth second, Turns second LED on for one tenth of the second, then off the second one for one tenth secondrepeatedly. Written on 17 March 2022 by Kishore Gaikwad */ #include #include int main (void) { // helloworld digital pin 13 (pin 5 of PORTB) for output DDRB |= 0x20; // PORTB5 while(1) { // turn LED on PORTB |= 0x20; // PORTB2 _delay_ms(100); // turn LED off PORTB &= ~ 0x20; // PORTB2 _delay_ms(100); } }