Use rtos::ThisThread::sleep_for
as delay in _sleep_response_timeout()
for Mbed OS boards
#107
Labels
rtos::ThisThread::sleep_for
as delay in _sleep_response_timeout()
for Mbed OS boards
#107
The code currently present is as follows
I would like if possible to add an
#ifdef _MBED
(as used by Portenta and others)In there the delay can be changed to:
This way delays are task switch implemented - not wasting CPU time, The sub ms delay will be done in the usal Arduino way, as MBed does not allow sub ms sleep intervals (ticker res 1mS).
The text was updated successfully, but these errors were encountered: