Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #include <avr/io.h> #include <util/delay.h> int main(void) { PORTA = 0xff; // enable pull ups DDRA = 0x00; // post as input while(1){ _delay_ms(1000); // delay 1 sec PORTA^=0xff; // invert PORTA outputs // PORTA^=0x01; // or invert PORTA.0 output only } }