Juan Moreno
/
PIR
Libreria PIR
Diff: PIR.h
- Revision:
- 0:f3032ddb50fb
diff -r 000000000000 -r f3032ddb50fb PIR.h --- /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