Should this event handler create a task which periodically records and stores data from the sensor, or should I create the task when the program starts, and then have it block itself until it's released by a task notification:
Code: Select all
ulTaskNotifyTake()
Code: Select all
xEventGroupWaitBits()
Out of curiosity, since Event Handlers are an esp-idf thing, what would you without them in vanilla FreeRTOS?