Lab 2 sample 2: use of interrupts

Dependents:   digitalInInterrupt_sample

Fork of digitalInPolling_sample by William Marsh

Files at this revision

API Documentation at this revision

Comitter:
WilliamMarshQMUL
Date:
Tue Jan 15 10:09:53 2019 +0000
Parent:
3:05b6a1431a6b
Child:
5:86742cfaf4e4
Commit message:
Update library; change wait

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- 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
--- a/mbed-os.lib	Tue Jan 16 18:14:21 2018 +0000
+++ b/mbed-os.lib	Tue Jan 15 10:09:53 2019 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#96d9a00d0a1d25095b330095fa81c40f7741777c
+https://github.com/ARMmbed/mbed-os/#c966348d3f9ca80843be7cdc9b748f06ea73ced0