FreeRTOS 中 Arduino 的 delay() 的等效函数是什么?
而不是 Arduino 的
arduino_delay_example.cpp
delay(5); // 延迟 5 毫秒
在 FreeRTOS 中使用这个:
freertos_vtaskdelay_example.cpp
vTaskDelay(5 / portTICK_PERIOD_MS);Check out similar posts by category:
Arduino, Electronics, Embedded, FreeRTOS
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow