xTaskCreate( vTaskLEDBlinker, (const signed portCHAR * const) "while", configMINIMAL_STACK_SIZE, NULL, 3, NULL); |
xTaskCreate( vTaskLEDBlinker(arg1,arg2), (const signed portCHAR * const) "while", configMINIMAL_STACK_SIZE, NULL, 3, NULL); |
while(1) { .... if (adc_volt > 220){ led_on_of(1,1); }else{led_on_of(1,0);led_on_of(2,0);led_on_of(3,0);led_on_of(4,0);} if (adc_volt > 250){ led_on_of(2,1); }else{led_on_of(2,0);led_on_of(3,0);led_on_of(4,0);} |