Timo Steinmeyer / Mbed 2 deprecated Nucleo_blink_led

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Stoni_90
Date:
Mon Apr 07 13:05:42 2014 +0000
Parent:
0:1168529b2d03
Commit message:
slowdown blink rate

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1168529b2d03 -r 2ff187087b49 main.cpp
--- a/main.cpp	Mon Apr 07 13:04:28 2014 +0000
+++ b/main.cpp	Mon Apr 07 13:05:42 2014 +0000
@@ -7,9 +7,9 @@
     while(1) {
         myled = 1; // LED is ON
         myled2 = 0; // LED2 is OFF
-        wait(0.2); // 200 ms
+        wait(0.5); // 200 ms
         myled = 0; // LED is OFF
         myled2 = 1; // LED2 is ON
-        wait(1.0); // 1 sec
+        wait(0.5); // 1 sec
     }
 }