You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small sketch that uses the ez menu and buttons, with ez.buttons.poll()
it seems that the left btn, button A is randomly triggered without touching it..
any idea's how this can be?
This is part of the sketch
void loop (
while(true) {
String btn = ez.buttons.poll();
if (btn !="" ) {
Serial.print("BTN Feedback: ");
Serial.print(btn);
}
if (btn == "up") {
Serial.println("BTN UP Pressed");
tUP();
break;
}else if (btn == "settings") {
menuSettings();
break;
} else if (btn == "down") {
Serial.println("BTN DOWN Pressed"); <---- Triggered without pushing the button (nothing connected to the M5stack)
tDOWN();
break;
}
}
}
The text was updated successfully, but these errors were encountered:
I have a small sketch that uses the ez menu and buttons, with ez.buttons.poll()
it seems that the left btn, button A is randomly triggered without touching it..
any idea's how this can be?
This is part of the sketch
The text was updated successfully, but these errors were encountered: