Creating a project about PriSensor for TT_Mxx

Revision:
3:65b6e5b2be31
Parent:
0:8f7f050af5a8
diff -r 4b5ebf838a40 -r 65b6e5b2be31 main.cpp
--- a/main.cpp	Fri Apr 26 09:28:51 2019 +0000
+++ b/main.cpp	Wed May 15 13:13:42 2019 +0000
@@ -19,9 +19,7 @@
 
 static void pirHandle()
 {
-    testLed = 1;
-    wait_ms(5000);
-    testLed = 0;
+    testLed = !testLed;
 }
 
 int main()