Working PIR sensor

Dependencies:   mbed

Revision:
1:f6f524d2dc18
Parent:
0:61201dd6e178
Child:
2:7844d0880ba7
--- a/main.cpp	Thu Mar 05 23:08:46 2015 +0000
+++ b/main.cpp	Thu Jan 31 17:19:30 2019 +0000
@@ -1,8 +1,8 @@
 #include "mbed.h"
-
+ 
 DigitalOut led1(LED1);
-DigitalIn alarm(p29, PullUp); //internal pull up 
-
+DigitalIn alarm(p29, PullNone); //internal pull up 
+ 
 int main() {  
     wait(2); //Wait for sensor to take snap shot of still room