An-Ting Mr. / Mbed 2 deprecated Nucleo_blink_led

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
AndyTing
Date:
Thu Jul 17 07:17:28 2014 +0000
Parent:
0:4be97af2b6bb
Commit message:
slowdown bink rate

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jul 17 07:05:18 2014 +0000
+++ b/main.cpp	Thu Jul 17 07:17:28 2014 +0000
@@ -8,9 +8,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
     }
 }