Frederico Prado / smartRamalEZR

Dependencies:   CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04

Fork of smartRamalKW by Equipe Firmware V2COM

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers boxAlarm.h Source File

boxAlarm.h

00001 #ifndef BOXALARM_H
00002 #define BOXALARM_H
00003 
00004 #include "mbed.h"
00005 #include "appParameters.h"
00006 #include "alarm.h"
00007 #include "debug.h"
00008 
00009 class BoxAlarm {
00010     
00011     void stateChanged();
00012     
00013   public:
00014     BoxAlarm();
00015     void init();
00016     void checkState();
00017 };
00018 
00019 extern DigitalIn boxSensor;
00020 extern DigitalOut ledBox;
00021 extern Alarm alarm;
00022 
00023 #endif