software/ampel-firmware/web_server.h

30 lines
482 B
C
Raw Normal View History

2021-05-09 18:45:59 +00:00
#ifndef WEB_SERVER_H_
#define WEB_SERVER_H_
2021-11-15 12:45:36 +00:00
2021-05-09 18:45:59 +00:00
#if defined(ESP8266)
# include <ESP8266WebServer.h>
#elif defined(ESP32)
# include <WebServer.h>
#endif
#include "config.h"
#include "util.h"
2021-11-15 12:45:36 +00:00
#include "wifi_util.h"
2021-05-09 18:45:59 +00:00
#include "co2_sensor.h"
2021-11-15 12:45:36 +00:00
#include "sensor_console.h"
2021-05-09 18:45:59 +00:00
#ifdef AMPEL_CSV
# include "csv_writer.h"
#endif
#ifdef AMPEL_MQTT
# include "mqtt.h"
#endif
#ifdef AMPEL_LORAWAN
# include "lorawan.h"
#endif
namespace web_server {
void initialize();
void update();
}
#endif