Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:01bb44016b0c
- Parent:
- 1:f3c08ef83294
- Child:
- 3:a30867f9a191
--- a/main.cpp Sat Jun 15 00:50:49 2019 +0000 +++ b/main.cpp Thu Jun 20 22:45:34 2019 +0000 @@ -51,7 +51,6 @@ Serial pc(USBTX, USBRX); // tx, rx DigitalOut led1(LED1); -#define SLEEP_TIME 500 // (msec) // main() runs in its own thread in the OS int main() @@ -60,7 +59,7 @@ while (true) { // Blink LED and wait 0.5 seconds led1 = !led1; - wait_ms(SLEEP_TIME); + } }