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 scheduler-demo by
Revision 2:6b3e85379edd, committed 2014-03-07
- Comitter:
- mimi3
- Date:
- Fri Mar 07 14:57:13 2014 +0000
- Parent:
- 1:48a906a94c32
- Commit message:
- activate UART
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 07 14:37:12 2014 +0000 +++ b/main.cpp Fri Mar 07 14:57:13 2014 +0000 @@ -3,17 +3,17 @@ #include "Scheduler.h" #include "led_tsk.h" -//Serial pc(UART_TX, UART_RX); +Serial pc(UART_TX, UART_RX); int main() { int i=0; - // pc.baud(115200); + pc.baud(115200); scheduler_startLoop( led1_task ); scheduler_startLoop( led2_task ); while(1) { - //pc.printf("\nHello World ! / mbed LPC11U35 %4d",i++); + pc.printf("\nHello World ! / mbed LPC11U35 %4d",i++); taskWait(1000); }