From: Vladimir Garistov Date: Sun, 1 Nov 2020 15:18:03 +0000 (+0000) Subject: Update external_interrupt.ino X-Git-Url: https://kolegite.com/gitweb/?a=commitdiff_plain;h=2bf7a471b411b8a27b8bc2fb90952017b92c3db7;p=vmks.git Update external_interrupt.ino --- diff --git a/external_interrupt/external_interrupt.ino b/external_interrupt/external_interrupt.ino index 597aa50..1d8b71f 100644 --- a/external_interrupt/external_interrupt.ino +++ b/external_interrupt/external_interrupt.ino @@ -32,11 +32,11 @@ void button_pressed_ISR(void) led_state = 0; digitalWrite(LED_PIN, LOW); } - else - { - led_state = 1; - digitalWrite(LED_PIN, HIGH); - } + else + { + led_state = 1; + digitalWrite(LED_PIN, HIGH); + } } void slow_computation(void)