Libreria PIR
Dependencies:
mbed
Dependents:
TotalSmartLights
PIR.cpp
- Committer:
- junmorenodi
- Date:
- 2019-07-11
- Revision:
- 0:f3032ddb50fb
File content as of revision 0:f3032ddb50fb:
#include "mbed.h"
#include "PIR.h"
PIR::PIR(PinName input) : digit(input)
{
}
bool PIR::getData(){
return digit.read() ;
}