Hi Sir
Is it necessary to use FreeRTOS for create two tasks ? Does Nordic has any library or API for task creating ?
Hi Sir
Is it necessary to use FreeRTOS for create two tasks ? Does Nordic has any library or API for task creating ?
Hi
Have you taken a look at the app_timer module?
With this one you can provide a pointer to a function which will be called either once after a certain delay, or repeatedly following a certain interval.
It doesn't have as many features as a fully fledged RTOS, but for many applications it will be sufficient.
We don't have any dedicated examples for the app_timer module, but many of the other examples use it. For instance the ble_app_hrs example uses the app_timer to schedule things like battery state updates and simulated heart rate sensor updates.
Best regards
Torbjørn
Hi
Have you taken a look at the app_timer module?
With this one you can provide a pointer to a function which will be called either once after a certain delay, or repeatedly following a certain interval.
It doesn't have as many features as a fully fledged RTOS, but for many applications it will be sufficient.
We don't have any dedicated examples for the app_timer module, but many of the other examples use it. For instance the ble_app_hrs example uses the app_timer to schedule things like battery state updates and simulated heart rate sensor updates.
Best regards
Torbjørn