-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting of esp8266_webinterface example for ESP32 #218
Comments
Can you let us know what's not working for you? |
I am getting below Errors When Compiling for WEMOS LOLIN ESP32
My Code :
and added below Files which are relevant to ESP32.
As this code is intended to run on ESP8266 , It seems rest of the code also needs to be edited to run on ESP32. |
As you note, the webinterface sketch can be compiled for ESP32 by using that processor's WebService lib instead of the ESP8266 web server libs: //#include <ESP8266WiFi.h>
//#include <ESP8266WebServer.h>
#include <WebServer.h>
...
//ESP8266WebServer server(HTTP_PORT);
WebServer server(HTTP_PORT);
...
// ESP.reset();
ESP.restart();
... Unfortunately, that's not all there is to it. If you're strip of WS2812s is longer then about 30 LEDs, you'll see random glitches because of an issue with the ESP32's Wifi stack as described in issue #177. |
Thanks for your help, With the above modifications in code I was successfully able to run it on ESP32. |
can you please share the modified code, I am getting this error after modifications
|
Which modified sketch are you trying to compile? |
I can not get this Example "esp8266_webinterface" to run on ESP32 , Request to Please release this Example to run on ESP32.
The text was updated successfully, but these errors were encountered: