/* In this case, no interrupts are used and the user task fetches the sensor values periodically every seconds.  */
void user_task_periodic(void *pvParameters)
/* In this case, no interrupts are used and the user task fetches the sensor values periodically every seconds.  */
void user_task_periodic(void *pvParameters)
{
    vTaskDelay (100/portTICK_PERIOD_MS);
    while (1)
    {
        read_data ();
        vTaskDelay (100/portTICK_PERIOD_MS);
    }
}