Hi all
I have a need for a system that will at boot wait for a Button press .. and if its pressed then continue to a specific loop ( i have this working) , however what i want it wait for the Button press for say 30 seconds , if its not pressed then go to another loop :
what i have so far ..
#define TRIGGER_PIN 0
void setup() {
Serial.begin(115200);
Serial.println("\n Waiting For Button Press");
pinMode(TRIGGER_PIN, INPUT);
}