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.
Revision 0:122e2654b483, committed 2016-04-14
- Comitter:
- manimani3712
- Date:
- Thu Apr 14 03:37:23 2016 +0000
- Commit message:
- ???????????
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 |
diff -r 000000000000 -r 122e2654b483 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Apr 14 03:37:23 2016 +0000 @@ -0,0 +1,31 @@ +#include "mbed.h" + +DigitalOut led1(PTE5); +DigitalOut led2(PTE4); +DigitalOut led3(PTE3); +DigitalOut led4(PTE2); +DigitalOut led5(PTB11); +DigitalOut led6(PTB10); +DigitalOut led7(PTB9); +DigitalOut led8(PTB8); + +int main() { + while(1) { + led1 = 1; + wait(0.2); + led2 = 0; + wait(0.2); + led3 = 1; + wait(0.2); + led4 = 0; + wait(0.2); + led5 = 1; + wait(0.2); + led6 = 0; + wait(0.2); + led7 = 1; + wait(0.2); + led8 = 0; + wait(0.2); + } +}
diff -r 000000000000 -r 122e2654b483 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 14 03:37:23 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f \ No newline at end of file