mbed GPIO for Buttons, LEDs, Buzzer

Files at this revision

API Documentation at this revision

Comitter:
rkuo2000
Date:
Wed Oct 26 03:37:07 2016 +0000
Parent:
0:5ea758382ca4
Commit message:
update to mbed OS 5.2

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
diff -r 5ea758382ca4 -r 3f1ad029882f main.cpp
--- a/main.cpp	Thu Oct 20 12:27:12 2016 +0000
+++ b/main.cpp	Wed Oct 26 03:37:07 2016 +0000
@@ -9,8 +9,6 @@
 DigitalIn     button_SW1(PC_12); // press button =0
 DigitalIn     button_SW2(PC_13); // press button =0
 
-// main() runs in its own thread in the OS
-// (note the calls to Thread::wait below for delays)
 int main() {
     
     rgbled_B=1; rgbled_R=1; rgbled_G=1;
diff -r 5ea758382ca4 -r 3f1ad029882f mbed-os.lib
--- a/mbed-os.lib	Thu Oct 20 12:27:12 2016 +0000
+++ b/mbed-os.lib	Wed Oct 26 03:37:07 2016 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#a6f3fd1a60d5df59246d7caf3f108c4d34e1808e
+https://github.com/ARMmbed/mbed-os/#e435a07d9252f133ea3d9f6c95dfb176f32ab9b6