/* Creates the tasks and co-routines used to toggle the segments of the two seven segment displays, as described at the top of main.c  */
void vCreateFlashTasksAndCoRoutines(void)
/* Creates the tasks and co-routines used to toggle the segments of the two seven segment displays, as described at the top of main.c  */
void vCreateFlashTasksAndCoRoutines(void)
{
signed short sLEDTask;
	for( sLEDTask = 0; sLEDTask < ledNUM_OF_LED_TASKS; ++sLEDTask )
	{
		xTaskCreate( vLEDFlashTask, ( signed char * ) "LEDt", configMINIMAL_STACK_SIZE, ( void * ) sLEDTask, ( tskIDLE_PRIORITY + 1 ), &( xFlashTaskHandles[ sLEDTask ] ) );
	}
	xTaskCreate( vLEDCoRoutineControlTask, ( signed char * ) "LEDc", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xCoroutineTask );
}