#ifndef _ALARM_H_ #define _ALARM_H_ const int DOOR_OPEN = HIGH; const int DOOR_CLOSED = LOW; struct AlarmStatus{ int doorStatus =DOOR_OPEN; bool doorChanged =false; bool isArmed = false; bool isFired =false; bool ledOn =true; bool muted =false; bool silent =false; //low sound }; #endif