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

WiFi.begin failure #43

Open
devilstower opened this issue Jun 24, 2019 · 1 comment
Open

WiFi.begin failure #43

devilstower opened this issue Jun 24, 2019 · 1 comment

Comments

@devilstower
Copy link

When attempting to compile code that works fine on other ESP8266 boards, I get a whole series of warnings about possible incompatibility, and then I get a failure on a very basic line that compiles fine for other ESP8266 boards.

I get warnings on: ESP8266WiFi, ESP8266WebServer, DNSServer, and WiFiManager. All of them giving the same text: "WARNING: library XXX claims to run on (esp8266) architecture(s) and may be incompatible with your current board which runs on (ArduCAM_ESP8266_UNO) architecture(s)."

I then get a failure on the line:

WiFi.begin(WiFi.SSID(), WiFi.psk());

With the error being "no matching function for call to 'ESP8266WiFiClass::begin(String, String)'" Which ... there is, but it's apparently affected by one of the definition issues as this runs fine for either Adafruit's Huzzah 8266 or a SparkFun 8266 Thing.

Module: ArduCam ESP8266 Uno
Flash Size: 4M
CPU Frequency: 80Mhz

@ArducamSupport
Copy link

Don't worry about that warning, it has no adverse effect on the operation of the project.
With the error being "no matching function for call to 'ESP8266WiFiClass::begin(String, String)'"
You can change the line:
WiFi.begin(WiFi.SSID(), WiFi.psk());
to:
Const char *ssid = "ssid "; // Put your SSID here
Const char *password = "password ";// Put your PASSWORD here
WiFi.begin(ssid ,password );

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