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.
Fork of mbed-os-example-mbed5-blinky by
Revision 11:dbc30f86f123, committed 2016-08-26
- Comitter:
- mike_s
- Date:
- Fri Aug 26 07:19:07 2016 +0000
- Parent:
- 10:c4bec1c9b715
- Commit message:
- 1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Aug 20 00:00:05 2016 +0100
+++ b/main.cpp Fri Aug 26 07:19:07 2016 +0000
@@ -2,12 +2,13 @@
DigitalOut led1(LED1);
+
// main() runs in its own thread in the OS
// (note the calls to Thread::wait below for delays)
int main() {
while (true) {
led1 = !led1;
- Thread::wait(500);
+ Thread::wait(1500);
}
}
