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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 2:ce0c9da29c7d
- Parent:
- 1:809739a3f957
- Child:
- 3:e5bb6ffbeef8
--- a/main.cpp Tue Aug 29 11:02:13 2017 +0000
+++ b/main.cpp Tue Aug 29 11:09:03 2017 +0000
@@ -4,6 +4,7 @@
int main() {
+ while(1) {
ledExt1 = 1;
wait(1.0);
led2 = 1;
@@ -16,4 +17,6 @@
ledExt1 = led2 = led3 = ledExt4 = 1;
wait(2.0);
ledExt1 = led2 = led3 = ledExt4 = 0;
+ wait(0.1);
+ }
}
\ No newline at end of file