/* In this example, user task fetches the sensor values every seconds.  */
void user_task_periodic(void *pvParameters)
/* In this example, user task fetches the sensor values every seconds.  */
void user_task_periodic(void *pvParameters)
{
    vTaskDelay (100/portTICK_PERIOD_MS);
    while (1)
    {
        read_data ();
        vTaskDelay(100/portTICK_PERIOD_MS);
    }
}