Is there easy way to delay 10 ms and delay 100ms?
Or add a event in Hal ,and delay?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
osal_start_timerEx()
:)
Example:
osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_PERIODIC_EVT, SBP_PERIODIC_EVT_PERIOD );
This thing schedules the SBP_PERIODIC_EVT to be sent to the simpleBLEPeripheral_TaskID in SBP_PERIODIC_EVT_PERIOD milliseconds.