PIR SENSOR HCSR501

Dependencies:   mbed

Committer:
Jorge_Beltran
Date:
Tue Dec 01 23:45:42 2015 +0000
Revision:
0:820c81f96055
PIR Sensor HCSR 501

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jorge_Beltran 0:820c81f96055 1 #include "mbed.h"
Jorge_Beltran 0:820c81f96055 2 #include "SensorPIR.h"
Jorge_Beltran 0:820c81f96055 3
Jorge_Beltran 0:820c81f96055 4 int main() {
Jorge_Beltran 0:820c81f96055 5 while(1)
Jorge_Beltran 0:820c81f96055 6 {
Jorge_Beltran 0:820c81f96055 7 GetPersonStatus(1);
Jorge_Beltran 0:820c81f96055 8 }
Jorge_Beltran 0:820c81f96055 9 }