enable webserver

This commit is contained in:
Siwat Sirichai 2024-03-17 22:04:23 +07:00
parent baf808bf26
commit 4c3bc6976e
2 changed files with 3 additions and 1 deletions

View File

@ -12,4 +12,5 @@
platform = espressif32
board = wt32-eth01
framework = arduino
lib_deps = siwats/ESPMegaPROR3@^2.3.8
lib_deps = siwats/ESPMegaPROR3@^2.3.8
monitor_speed = 115200

View File

@ -40,6 +40,7 @@ void setup()
espmega.begin();
// Initialize IoT Modules
espmega.enableIotModule();
espmega.enableWebServer(80);
// Setup Ethernet
ETH.begin();
espmega.iot->bindEthernetInterface(&ETH);