Set update interval to 500 ms
This commit is contained in:
parent
9b6f3b832a
commit
3cf6907a04
@ -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