Libreria PIR

Dependencies:   mbed

Dependents:   TotalSmartLights

Revision:
0:f3032ddb50fb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PIR.h	Thu Jul 11 13:08:11 2019 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#ifndef PIR_h
+#define PIR_h
+class PIR   
+{
+public:
+
+PIR(PinName input);
+
+bool getData( void);
+
+
+private:
+
+DigitalIn digit; 
+};
+#endif
\ No newline at end of file