Repo for ESP32 Weather Station Development
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
555B

  1. /*
  2. * server.h
  3. *
  4. * Created on: 21 Apr 2020
  5. * Author: Chris
  6. */
  7. #ifndef COMPONENTS_SERVER_SERVER_H_
  8. #define COMPONENTS_SERVER_SERVER_H_
  9. #include <freertos/FreeRTOS.h>
  10. #include <freertos/event_groups.h>
  11. #include <freertos/task.h>
  12. #include <esp_event.h>
  13. #include <esp_log.h>
  14. #include <esp_http_server.h>
  15. #include <sys/param.h>
  16. void init_server();
  17. void server_set_values(int32_t temp_raw, uint32_t pressure_raw, uint32_t humidity_raw,
  18. int32_t temp2_raw, uint32_t pressure2_raw, uint32_t humidity2_raw);
  19. #endif /* COMPONENTS_SERVER_SERVER_H_ */