16 lines
210 B
C
16 lines
210 B
C
#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
|
|
|