added forced start/continue, combined remote firmware

This commit is contained in:
2025-02-26 06:03:32 +01:00
parent c2bffd7a26
commit 20fe660838
3 changed files with 86 additions and 49 deletions

View File

@@ -9,18 +9,13 @@ void pollInput (){
switchRUMBLE.poll();
switchPIT.poll();
if (buttonSTART.pushed()) {
buttonSTARTvar = true;
}
if (buttonPAUSE.pushed()) {
buttonPAUSEvar = true;
}
if (buttonPIT.pushed()) {
buttonPITvar = true;
}
if (buttonRESET.pushed()) {
buttonRESETvar = true;
}
buttonSTARTvar = buttonSTART.singleClick();
buttonSTARTforced = buttonSTART.longPress();
buttonPAUSEvar = buttonPAUSE.singleClick();
buttonPITvar = buttonPIT.singleClick();
buttonPIThold = buttonPIT.longPress();
buttonRESETvar = buttonRESET.longPress();
// if (buttonREDTEAM.pushed()) {
// buttonREDTEAMvar = true;
// if (ARENA_READY && !REDTEAM_READY) {