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 by
Revision 7:b367bf38d835, committed 2015-09-18
- Comitter:
- ohashi_koji
- Date:
- Fri Sep 18 01:25:17 2015 +0000
- Parent:
- 6:e8cd76f38fa9
- Commit message:
- right
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri May 09 19:58:03 2014 +0300 +++ b/main.cpp Fri Sep 18 01:25:17 2015 +0000 @@ -1,12 +1,23 @@ #include "mbed.h" -DigitalOut myled(LED1); +DigitalOut myled1(LED1); +DigitalOut myled2(LED2); +DigitalOut myled3(LED3); +DigitalOut myled4(LED4); int main() { while(1) { - myled = 1; + myled4 = 0; + myled1 = 1; + wait(0.2); + myled1 = 0; + myled2 = 1; wait(0.2); - myled = 0; + myled2 = 0; + myled3 = 1; + wait(0.2); + myled3 = 0; + myled4 = 1; wait(0.2); } }
--- a/mbed.bld Fri May 09 19:58:03 2014 +0300 +++ b/mbed.bld Fri Sep 18 01:25:17 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/ \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/7e07b6fb45cf \ No newline at end of file