Code: Select all
void Task1code( void * parameter ){
Serial.print("Task1 running on core ");
Serial.println(xPortGetCoreID());
for(;;){
// some code
// Pause the task for 500ms
vTaskDelay(500 / portTICK_PERIOD_MS); // I guess this is something I need to change?
}
}