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 1:75e11b7fe6d7, committed 2018-03-30
- Comitter:
- titanium
- Date:
- Fri Mar 30 13:43:01 2018 +0000
- Parent:
- 0:3eb6cb11b409
- Commit message:
- extra lines are deleted.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 30 13:31:20 2018 +0000 +++ b/main.cpp Fri Mar 30 13:43:01 2018 +0000 @@ -1,19 +1,10 @@ #include "mbed.h" -// #include "rtos.h" Ticker timer1, timer2, timer3, timer4; DigitalOut digled1(LED1), digled2(LED2); PwmOut pwmled3(LED3), pwmled4(LED4); - -// DigitalIn digin5(p5); DigitalOut digout7(p7); -void task1() -{ while (1) wait(0.3); } - -// Thread th1(&task1, NULL, 50, 512, malloc(512)); -// Thread th2(&task1, NULL, 51, 512, malloc(512)); - void flipled1() { digled1 = !digled1;} void flipled2 () { digled2 = !digled2; } void changeled3()