Skip to content
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

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

Closed
onimoschta opened this issue Jan 10, 2019 · 2 comments
Closed

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

onimoschta opened this issue Jan 10, 2019 · 2 comments

Comments

@onimoschta
Copy link

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
Copy link

per1234 commented Jan 11, 2019

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

@onimoschta
Copy link
Author

onimoschta commented Jan 11, 2019

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)

me-no-dev/arduino-esp32fs-plugin#9 (comment)

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.

@onimoschta onimoschta changed the title setupWifi compilation problem Webserver displaying "Loading, please wait..." Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants