Creating a project for TT_Mxx

Revision:
0:a0f5041497e4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DoorStatus/DoorStatus.h	Thu Mar 21 10:08:02 2019 +0000
@@ -0,0 +1,34 @@
+#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