jasoncoon / esp32-fastled-webserver

Work in progress ESP32 port of https://github.com/jasoncoon/esp8266-fastled-webserver
GNU General Public License v3.0
197 stars 66 forks source link

Webserver displaying "Loading, please wait..." #14

Closed onimoschta closed 5 years ago

onimoschta commented 5 years ago

im trying to compile the code and upload it to my esp32 but i have a problem:

C:\Users\XXX\Documents\Arduino\esp32-fastled-webserver\esp32-fastled-webserver.ino:

In function 'void setup()':

esp32-fastled-webserver:186:13: error: 'setupWifi' was not declared in this scope

setupWifi();

         ^

Multiple libraries were found for "WiFi.h" Used: C:\Users\XXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries\WiFi Not used: C:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 'setupWifi' was not declared in this scope

per1234 commented 5 years ago

In your Arduino IDE, when you have the esp32-fastled-webserver sketch open, do you see a tab named "wifi.h"?

onimoschta commented 5 years ago

yes i had some problems with WiFi.h and wifi.h i kind of messed up the edit ( led strip length and other things). I got it to work but only this shows up in my browser: webserver esp32

Edit: After a lot of open tabs and google'ing i managed to find my problem somehow. i forgot to flash the spiffs but i could not flash them , i got the error

Invalid argument or value after --chip (argument #2)

https://github.com/me-no-dev/arduino-esp32fs-plugin/issues/9#issue-395178605

after many hours trying to make the SPIFFS fix provided on the github pagte from jasoncoon work i gave up somehow. now i just installed the esp32 binaries 1.0.0 instead of 1.0.1 and i could create the spiffs and i have a web interface.