led hello world

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mrvalon
Date:
Wed May 03 13:49:01 2017 +0000
Parent:
0:0976d0bb0725
Commit message:
slow down blink rate

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 0976d0bb0725 -r 70116af3663f main.cpp
--- a/main.cpp	Wed May 03 13:47:28 2017 +0000
+++ b/main.cpp	Wed May 03 13:49:01 2017 +0000
@@ -7,9 +7,9 @@
     while(1) {
         myled = 1; // LED is ON
         myled2 = 0;
-        wait(0.2); // 200 ms
+        wait(0.5); // 200 ms
         myled = 0; // LED is OFF
         myled2 = 1;
-        wait(0.2); // 1 sec
+        wait(0.5); // 1 sec
     }
 }