For CQ LPC1U35 board. Multitask scheduler demo project.,arduino,due,compatible

Dependencies:   Scheduler mbed

Fork of scheduler-demo by mi mi

main.cpp

Committer:
mimi3
Date:
2014-03-07
Revision:
1:48a906a94c32
Parent:
0:79e298c7d4b9
Child:
2:6b3e85379edd

File content as of revision 1:48a906a94c32:


#include "mbed.h"
#include "Scheduler.h"
#include "led_tsk.h"

//Serial pc(UART_TX, UART_RX);
 
int main()
{
    int i=0;
   // pc.baud(115200);
    scheduler_startLoop( led1_task );
    scheduler_startLoop( led2_task );
    
    while(1) {
        //pc.printf("\nHello World ! / mbed LPC11U35 %4d",i++);
        taskWait(1000);
    }

}