![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Scheduller Demo
Fork of scheduler-demo-cq-lpc11u35 by
Diff: main.cpp
- Revision:
- 0:79e298c7d4b9
- Child:
- 1:48a906a94c32
diff -r 000000000000 -r 79e298c7d4b9 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Aug 25 10:28:46 2013 +0000 @@ -0,0 +1,22 @@ + +#include "mbed.h" +#include "Scheduler.h" +#include "led_tsk.h" + + +/* tx, rx default Baudrate:9600bps */ +Serial pc(USBTX, USBRX); + + +int main() +{ + int i=0; + pc.baud(115200); + scheduler_startLoop( led_task ); + scheduler_startLoop( led2_task ); + while(1) { + pc.printf("\nHello World ! / mbed LPC1114FN28 %4d",i++); + taskWait(1000); + } + +}