default alarm status values
This commit is contained in:
parent
8a419375aa
commit
9cf8305ad8
@ -4,11 +4,13 @@
|
|||||||
const int DOOR_OPEN = HIGH;
|
const int DOOR_OPEN = HIGH;
|
||||||
const int DOOR_CLOSED = LOW;
|
const int DOOR_CLOSED = LOW;
|
||||||
struct AlarmStatus{
|
struct AlarmStatus{
|
||||||
int doorStatus;
|
int doorStatus =DOOR_OPEN;
|
||||||
bool doorChanged;
|
bool doorChanged =false;
|
||||||
bool isArmed;
|
bool isArmed = false;
|
||||||
bool isFired;
|
bool isFired =false;
|
||||||
bool ledOn;
|
bool ledOn =true;
|
||||||
|
bool muted =false;
|
||||||
|
bool silent =false; //low sound
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user