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 enum {LED_OFF, LED_ON}; bool led_state; main_program() { ConfigButton(); } void ButtonInterrupt(void) { if(led_state) { led_state = LED_OFF; LEDPowerOff(); } else { led_state = LED_ON; LEDPowerOn(); } }