What is the FreeRTOS equivalent to Arduino's delay()?
Instead of Arduino’s
delay(5); // delay for five milliseconds
use this in FreeRTOS:
vTaskDelay(5 / portTICK_PERIOD_MS);
Instead of Arduino’s
delay(5); // delay for five milliseconds
use this in FreeRTOS:
vTaskDelay(5 / portTICK_PERIOD_MS);