mbed-scli test program
main.cpp
- Committer:
- mimi3
- Date:
- 2017-02-26
- Revision:
- 2:3e748cfff1d7
- Parent:
- 0:b54fab1223b5
File content as of revision 2:3e748cfff1d7:
#include "mbed.h" #include "led_tsk.h" #define SCHEDULER_TASK_STACK_SIZE_EACH 1000 #include "Scheduler.h" Serial pc(USBTX, USBRX); int main() { int i=0; pc.baud(115200); scheduler_startLoop( led1_task ); while(1) { pc.printf("\n[%4d] Hello World ! / mbed ",i++); taskWait(1000); } }