/* definition and creation of myTask01 */
osThreadDef(myTask01, StartTask01, osPriorityIdle, 0, 128);
myTask01Handle = osThreadCreate(osThread(myTask01), NULL);
/* definition and creation of myTask02 */
osThreadDef(myTask02, StartTask02, osPriorityIdle, 0, 128);
myTask02Handle = osThreadCreate(osThread(myTask02), NULL);
/* definition and creation of myTask03 */
osThreadDef(myTask03, StartTask03, osPriorityLow, 0, 128);
myTask03Handle = osThreadCreate(osThread(myTask03), NULL); |