diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 74f71fba..5c80ccac 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2487,6 +2487,8 @@ void process_pushbutton() { int release = FALSE; + digitalWrite(LED_BUILTIN, HIGH); // make sure built in LED is on before starting to blink + sleep(1.0); int pb_value = digitalRead(MAIN_PB_PIN); @@ -2578,6 +2580,8 @@ void process_bootsel() { int release = FALSE; +digitalWrite(LED_BUILTIN, HIGH); // make sure built in LED is on before blinking + sleep(1.0); // int pb_value = digitalRead(MAIN_PB_PIN);