My_Nucleo_blink_led example test.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
chu3098
Date:
Wed Feb 15 05:46:51 2017 +0000
Parent:
0:624f5147d8df
Commit message:
slowdown LED blink rate.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Feb 15 05:44:51 2017 +0000
+++ b/main.cpp	Wed Feb 15 05:46:51 2017 +0000
@@ -5,8 +5,8 @@
 int main() {
     while(1) {
         myled = 1; // LED is ON
-        wait(0.2); // 200 ms
+        wait(1.2); // 1200 ms
         myled = 0; // LED is OFF
-        wait(1.0); // 1 sec
+        wait(1.5); // 1.5 sec
     }
 }