Tu Tri Huynh
/
DISCO-F746NG_blink_led
LED hello world
Revision 1:7a93cadee559, committed 2021-01-04
- Comitter:
- tuxx0046
- Date:
- Mon Jan 04 09:20:44 2021 +0000
- Parent:
- 0:76d1459aeedd
- 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 76d1459aeedd -r 7a93cadee559 main.cpp --- a/main.cpp Mon Jan 04 09:19:39 2021 +0000 +++ b/main.cpp Mon Jan 04 09:20:44 2021 +0000 @@ -7,8 +7,8 @@ while(1) { myled = 1; // LED is ON myled2 = 0; - wait(0.2); // 200 ms + wait(0.5); // 200 ms myled2 = 1; // LED is OFF - wait(0.2); // 1 sec + wait(0.5); // 1 sec } }