Lab 2 sample 2: use of interrupts

Dependents:   digitalInInterrupt_sample

Fork of digitalInPolling_sample by William Marsh

Revision:
4:728667196916
Parent:
3:05b6a1431a6b
Child:
5:86742cfaf4e4
--- a/main.cpp	Tue Jan 16 18:14:21 2018 +0000
+++ b/main.cpp	Tue Jan 15 10:09:53 2019 +0000
@@ -31,6 +31,6 @@
             led = !led ;
             pressEvent = 0 ; // Clear the event variable
         }
-        Thread::wait(100) ;
+        wait(0.1) ;
     }
 }
\ No newline at end of file