ESP32 / ESP8266 & BME280 / SHT2x sensor with InfluxDB support
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

html.h 773B

12345678910111213141516171819202122232425262728
  1. /*
  2. * html.h
  3. *
  4. * ESP8266 / ESP32 Environmental Sensor
  5. *
  6. * ----------------------------------------------------------------------------
  7. * "THE BEER-WARE LICENSE" (Revision 42):
  8. * <xythobuz@xythobuz.de> wrote this file. As long as you retain this notice
  9. * you can do whatever you want with this stuff. If we meet some day, and you
  10. * think this stuff is worth it, you can buy me a beer in return. Thomas Buck
  11. * ----------------------------------------------------------------------------
  12. */
  13. #ifndef __HTML_H__
  14. #define __HTML_H__
  15. #if defined(ARDUINO_ARCH_ESP8266) || defined(ARDUINO_ARCH_ESP32)
  16. void handlePage(int mode = -1, int id = 0);
  17. void handleReset();
  18. #else
  19. void handlePage(WiFiClient &client, int mode = -1, int id = 0);
  20. #endif
  21. #endif // __HTML_H__