instructions
This commit is contained in:
parent
8f10d91e93
commit
9f850b6f48
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2004,9 +2004,10 @@ void failsafe(){ //--------------------------------------------- FAILSAFE MODE I
|
|||||||
|
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
systemClock = millis(); //-------------------- SYSTEM CLOCK
|
systemClock = millis(); //-------------------------------------------------- SYSTEM CLOCK
|
||||||
|
|
||||||
if (systemClock-lastPulse >= 1){
|
if (systemClock-lastPulse >= 1){
|
||||||
if (not failsafeMode){
|
if (not failsafeMode){ //execute the loop only if the panel is not in failsafe mode
|
||||||
lcdBacklight(); //------------------------------------------------------ CHECK LCD BACKLIGHT
|
lcdBacklight(); //------------------------------------------------------ CHECK LCD BACKLIGHT
|
||||||
|
|
||||||
checkDevices(); //------------------------------------------------------ CHECK ACTIVATING DEVICES
|
checkDevices(); //------------------------------------------------------ CHECK ACTIVATING DEVICES
|
||||||
@ -2054,7 +2055,7 @@ void loop() {
|
|||||||
} else {
|
} else {
|
||||||
buttonCheckTimer++;
|
buttonCheckTimer++;
|
||||||
}
|
}
|
||||||
} else {
|
} else { //failsafe mode
|
||||||
failsafe();
|
failsafe();
|
||||||
}
|
}
|
||||||
lastPulse = millis(); //update last pulse
|
lastPulse = millis(); //update last pulse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user