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_bord_test2-1 by
Revision 1:e2d1ef6e9f19, committed 2016-04-25
- Comitter:
- Kojiro
- Date:
- Mon Apr 25 07:12:05 2016 +0000
- Parent:
- 0:122e2654b483
- Commit message:
- ss
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 122e2654b483 -r e2d1ef6e9f19 main.cpp --- a/main.cpp Thu Apr 14 03:37:23 2016 +0000 +++ b/main.cpp Mon Apr 25 07:12:05 2016 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" -DigitalOut led1(PTE5); -DigitalOut led2(PTE4); -DigitalOut led3(PTE3); -DigitalOut led4(PTE2); +//DigitalOut led1(PTE5); +//DigitalOut led2(PTE4); +//DigitalOut led3(PTE3); +//DigitalOut led4(PTE2); DigitalOut led5(PTB11); DigitalOut led6(PTB10); DigitalOut led7(PTB9); @@ -11,21 +11,21 @@ int main() { while(1) { - led1 = 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); + wait(0.2);*/ + led5 = 1; +// wait(0.2); + led6 = 1; +// wait(0.2); led7 = 1; - wait(0.2); - led8 = 0; - wait(0.2); + // wait(0.2); + led8 = 1; + // wait(0.2);*/ } }