added power on hours

This commit is contained in:
lexzach 2023-03-27 19:16:09 -04:00
parent 81ba23e762
commit f3c2799540
Signed by: Lexzach
GPG Key ID: B574880929E6F1F0

View File

@ -140,7 +140,7 @@ byte cross[] = { //x mark
//PIN DEFINITIONS
int zone1Pin = 15;
int zone2Pin = 39; //TESTING is set to 15 but is normally 39.
int zone2Pin = 39; //IF YOU WANT A SINGLE ZONE, SET THIS TO 15 AS WELL, ELSE 39.
int hornRelay = 13;
int buzzerPin = 4;
int strobeRelay = 18;
@ -2014,7 +2014,7 @@ void smokeDetector(){
}
void powerOnTracker(){
if (powerOnMinutesCounter >= 600){
if (powerOnMinutesCounter >= 60000){
powerOnMinutesCounter = 0;
powerOnMinutes++;
byte byte_array[4];