mbed_example / Mbed OS DigitalOut_HelloWorld Featured

Fork of DigitalOut_HelloWorld by Mbed

Files at this revision

API Documentation at this revision

Comitter:
mbedAustin
Date:
Sat Sep 20 21:47:16 2014 +0000
Parent:
1:b66c5cfa5d8f
Child:
3:29debdbea629
Commit message:
added comments for clarity

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Feb 21 17:06:56 2013 +0000
+++ b/main.cpp	Sat Sep 20 21:47:16 2014 +0000
@@ -4,9 +4,9 @@
 
 int main() {
     while(1) {
-        myled = 1;
+        myled = 1;  // turn myled on
         wait(0.2);
-        myled = 0;
+        myled = 0;  // turn myled off
         wait(0.2);
     }
 }
--- a/mbed.bld	Thu Feb 21 17:06:56 2013 +0000
+++ b/mbed.bld	Sat Sep 20 21:47:16 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/3d0ef94e36ec
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file