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 demo_program by
Diff: main.cpp
- Revision:
- 9:be3f59c825d6
- Parent:
- 8:cb9b22d13f60
diff -r cb9b22d13f60 -r be3f59c825d6 main.cpp --- a/main.cpp Mon May 20 09:14:45 2013 +0000 +++ b/main.cpp Tue May 21 14:09:44 2013 +0000 @@ -1,16 +1,19 @@ #include "mbed.h" DigitalOut myled(LED1); +DigitalOut newled(LED2); DigitalOut newled(LED3); DigitalOut newerled(LED4); int main() { while(1) { myled = 1; + myled2 = 1; newled = 1; newerled = 1; wait(0.5); myled = 0; + myled2 = 0; newled = 0; newerled = 0; wait(0.5);