Thundersoft
/
ReedSwitch_for_TT_Mxx
Creating a project for TT_Mxx
DoorStatus/DoorStatus.h
- Committer:
- ThunderSoft
- Date:
- 2019-03-21
- Revision:
- 0:a0f5041497e4
File content as of revision 0:a0f5041497e4:
#ifndef DOORSTATUS_H #define DOORSTATUS_H #include "mbed.h" class DoorStatus { public: /** * @brief */ DoorStatus(PinName pin); DoorStatus(); /** * @brief Handle the event about door status. * @param func handle of function. */ void handleCallback(Callback<void()> func); private: InterruptIn *interruptPin; }; #endif