![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Scheduller Demo
Fork of scheduler-demo-cq-lpc11u35 by
Diff: main.cpp
- Revision:
- 1:48a906a94c32
- Parent:
- 0:79e298c7d4b9
- Child:
- 2:6b3e85379edd
diff -r 79e298c7d4b9 -r 48a906a94c32 main.cpp --- a/main.cpp Sun Aug 25 10:28:46 2013 +0000 +++ b/main.cpp Fri Mar 07 14:37:12 2014 +0000 @@ -3,20 +3,21 @@ #include "Scheduler.h" #include "led_tsk.h" - -/* tx, rx default Baudrate:9600bps */ -Serial pc(USBTX, USBRX); - - +//Serial pc(UART_TX, UART_RX); + int main() { int i=0; - pc.baud(115200); - scheduler_startLoop( led_task ); + // pc.baud(115200); + scheduler_startLoop( led1_task ); scheduler_startLoop( led2_task ); + while(1) { - pc.printf("\nHello World ! / mbed LPC1114FN28 %4d",i++); + //pc.printf("\nHello World ! / mbed LPC11U35 %4d",i++); taskWait(1000); } } + + + \ No newline at end of file