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_blinky_IoT_sample by
Revision 1:ee2e19ccd7eb, committed 2015-11-14
- Comitter:
- integra
- Date:
- Sat Nov 14 05:25:10 2015 +0000
- Parent:
- 0:e2da3693e9b2
- Commit message:
- Simple IoT Borad LED blink S.O.S
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Nov 14 05:12:56 2015 +0000 +++ b/main.cpp Sat Nov 14 05:25:10 2015 +0000 @@ -4,14 +4,64 @@ int main() { while(1) { + // . myled = 1; - wait(0.4); + wait(0.1); myled = 0; wait(0.1); + + // . + myled = 1; + wait(0.1); + myled = 0; + wait(0.1); + + // . myled = 1; wait(0.1); myled = 0; - wait(0.2); + wait(0.1); + + wait(0.1); + + // - + myled = 1; + wait(0.3); + myled = 0; + wait(0.3); + + // - + myled = 1; + wait(0.3); + myled = 0; + wait(0.3); + + // - + myled = 1; + wait(0.3); + myled = 0; + wait(0.3); + wait(0.1); + + // . + myled = 1; + wait(0.1); + myled = 0; + wait(0.1); + + // . + myled = 1; + wait(0.1); + myled = 0; + wait(0.1); + + // . + myled = 1; + wait(0.1); + myled = 0; + wait(0.1); + + wait(0.9); } }