arduino-sketches/esp32/alarm.h

16 lines
210 B
C
Raw Normal View History

#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