removed not used code anymore from the controller firmware, added ESP-NOW functions and settings to the controller to control the display
This commit is contained in:
@@ -8,8 +8,6 @@ void pollInput (){
|
||||
buttonRESET.poll();
|
||||
switchRUMBLE.poll();
|
||||
switchPIT.poll();
|
||||
buttonREDTEAM.poll();
|
||||
buttonBLUETEAM.poll();
|
||||
|
||||
if (buttonSTART.pushed()) {
|
||||
buttonSTARTvar = true;
|
||||
@@ -23,16 +21,16 @@ void pollInput (){
|
||||
if (buttonRESET.pushed()) {
|
||||
buttonRESETvar = true;
|
||||
}
|
||||
if (buttonREDTEAM.pushed()) {
|
||||
buttonREDTEAMvar = true;
|
||||
if (ARENA_READY && !REDTEAM_READY) {
|
||||
BLINK_COUNTER_REDTEAM = 5;
|
||||
}
|
||||
}
|
||||
if (buttonBLUETEAM.pushed()) {
|
||||
buttonBLUETEAMvar = true;
|
||||
if (ARENA_READY && !BLUETEAM_READY) {
|
||||
BLINK_COUNTER_BLUETEAM = 5;
|
||||
}
|
||||
}
|
||||
// if (buttonREDTEAM.pushed()) {
|
||||
// buttonREDTEAMvar = true;
|
||||
// if (ARENA_READY && !REDTEAM_READY) {
|
||||
// BLINK_COUNTER_REDTEAM = 5;
|
||||
// }
|
||||
// }
|
||||
// if (buttonBLUETEAM.pushed()) {
|
||||
// buttonBLUETEAMvar = true;
|
||||
// if (ARENA_READY && !BLUETEAM_READY) {
|
||||
// BLINK_COUNTER_BLUETEAM = 5;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user