The final project of Embedde class.

Dependencies:   C12832 LM75B ESP-call MMA7660

ALARM/ALARM.h

Committer:
pkr7098
Date:
2021-06-03
Revision:
2:37756b51ccdb
Parent:
1:ed1c6618f739

File content as of revision 2:37756b51ccdb:

#ifndef _ALARM_H
#define _ALARM_H

#include "mbed.h"
#include "WIFI.h"
#include "TIMER.h"
#include "BUZZER.h"
#include "BELL.h"

#define ALARM_STATE alarmState;
#define ALARM_ENABLED   true
#define ALARM_DISABLED  false

extern short alarmHour;
extern short alarmMinute;
extern short alarmSecond;
extern bool alarmState;
extern Semaphore semaphoreAlarmData;

void alarmInit(void);

#endif