|
|
|
@ -2487,6 +2487,8 @@ void process_pushbutton() {
|
|
|
|
|
|
|
|
|
|
|
|
int release = FALSE;
|
|
|
|
int release = FALSE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
digitalWrite(LED_BUILTIN, HIGH); // make sure built in LED is on before starting to blink
|
|
|
|
|
|
|
|
|
|
|
|
sleep(1.0);
|
|
|
|
sleep(1.0);
|
|
|
|
|
|
|
|
|
|
|
|
int pb_value = digitalRead(MAIN_PB_PIN);
|
|
|
|
int pb_value = digitalRead(MAIN_PB_PIN);
|
|
|
|
@ -2578,6 +2580,8 @@ void process_bootsel() {
|
|
|
|
|
|
|
|
|
|
|
|
int release = FALSE;
|
|
|
|
int release = FALSE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
digitalWrite(LED_BUILTIN, HIGH); // make sure built in LED is on before blinking
|
|
|
|
|
|
|
|
|
|
|
|
sleep(1.0);
|
|
|
|
sleep(1.0);
|
|
|
|
|
|
|
|
|
|
|
|
// int pb_value = digitalRead(MAIN_PB_PIN);
|
|
|
|
// int pb_value = digitalRead(MAIN_PB_PIN);
|
|
|
|
|