Initial workingHelloWorld Web Server
This commit is contained in:
parent
f8661dd4a1
commit
8c43d260d0
5 changed files with 66 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
|||
#define CLIMATE_CARD_ENABLE
|
||||
#define MQTT_CARD_REGISTER
|
||||
#define DISPLAY_ENABLE
|
||||
#define WEB_SERVER_ENABLE
|
||||
|
||||
// Demo PLC firmware using the ESPMegaPRO OOP library
|
||||
|
||||
|
@ -141,6 +142,10 @@ void setup()
|
|||
ESP_LOGI("Initializer", "Binding climate card to internal display");
|
||||
espmega.display->bindClimateCard(&climateCard);
|
||||
#endif
|
||||
#ifdef WEB_SERVER_ENABLE
|
||||
ESP_LOGI("Initializer", "Enabling web server");
|
||||
espmega.enableWebServer(80);
|
||||
#endif
|
||||
}
|
||||
|
||||
void loop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue