Browse Source

Set update interval to 500 ms

master
Christian Loch 4 years ago
parent
commit
3cf6907a04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main/main.c

+ 1
- 1
main/main.c View File

@@ -24,7 +24,7 @@ void app_main(void)
read_sensor2(&temp2, &pressure2, &humidity2);
server_set_values(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…
Cancel
Save