Set update interval to 500 ms
This commit is contained in:
parent
e6423f143b
commit
4781bdd7ea
@ -24,7 +24,7 @@ void app_main(void)
|
|||||||
read_sensor2(&temp2, &pressure2, &humidity2);
|
read_sensor2(&temp2, &pressure2, &humidity2);
|
||||||
server_set_values(temp, pressure, humidity, temp2, pressure2, humidity2);
|
server_set_values(temp, pressure, humidity, temp2, pressure2, humidity2);
|
||||||
display_data(temp, pressure, humidity, temp2, pressure2, humidity2);
|
display_data(temp, pressure, humidity, temp2, pressure2, humidity2);
|
||||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
vTaskDelay(500 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user