added power on hours
This commit is contained in:
parent
81ba23e762
commit
f3c2799540
@ -140,7 +140,7 @@ byte cross[] = { //x mark
|
|||||||
|
|
||||||
//PIN DEFINITIONS
|
//PIN DEFINITIONS
|
||||||
int zone1Pin = 15;
|
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 hornRelay = 13;
|
||||||
int buzzerPin = 4;
|
int buzzerPin = 4;
|
||||||
int strobeRelay = 18;
|
int strobeRelay = 18;
|
||||||
@ -2014,7 +2014,7 @@ void smokeDetector(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void powerOnTracker(){
|
void powerOnTracker(){
|
||||||
if (powerOnMinutesCounter >= 600){
|
if (powerOnMinutesCounter >= 60000){
|
||||||
powerOnMinutesCounter = 0;
|
powerOnMinutesCounter = 0;
|
||||||
powerOnMinutes++;
|
powerOnMinutes++;
|
||||||
byte byte_array[4];
|
byte byte_array[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user