Initial commit
This commit is contained in:
parent
ae6ef92b49
commit
2926c431a2
56 changed files with 8787 additions and 2 deletions
26
ampel-firmware/web_server.h
Normal file
26
ampel-firmware/web_server.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef WEB_SERVER_H_
|
||||
#define WEB_SERVER_H_
|
||||
#if defined(ESP8266)
|
||||
# include <ESP8266WebServer.h>
|
||||
#elif defined(ESP32)
|
||||
# include <WebServer.h>
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "util.h"
|
||||
#include "co2_sensor.h"
|
||||
#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
|
Loading…
Add table
Add a link
Reference in a new issue