|
|
|
|
@ -3140,13 +3140,13 @@ void sleep(float timer) { // sleeps for intervals more than 0.01 milli seconds
|
|
|
|
|
|
|
|
|
|
void process_pushbutton() {
|
|
|
|
|
|
|
|
|
|
Serial.println("PB pressed!");
|
|
|
|
|
// Serial.println("PB pressed!");
|
|
|
|
|
|
|
|
|
|
int release = FALSE;
|
|
|
|
|
|
|
|
|
|
Serial.println(digitalRead(MAIN_PB_PIN));
|
|
|
|
|
// Serial.println(digitalRead(MAIN_PB_PIN));
|
|
|
|
|
|
|
|
|
|
return; /// just skip for now
|
|
|
|
|
// return; /// just skip for now
|
|
|
|
|
|
|
|
|
|
if (!wifi)
|
|
|
|
|
digitalWrite(LED_BUILTIN, HIGH); // make sure built in LED is on before starting to blink
|
|
|
|
|
|