#ifndef _ALARM_H_ #define _ALARM_H_ const int DOOR_OPEN = HIGH; const int DOOR_CLOSED = LOW; struct AlarmStatus{ int doorStatus; bool doorChanged; bool isArmed; bool isFired; bool ledOn; }; #endif