-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WiFi.h is not working on my esp32 #226
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
Comments
just including WiFi.h would not change a thing. Are you sure you are not missing something else? Also what exactly "same code is not working with WiFi.h" means? Post some serial output ;) |
Hi @me-no-dev, with the code below void setup() { After including WiFi.h i got the below error It shows there is some error in WiFi.h (error: no members matching 'WiFiScanClass::MODE' in 'class WiFiScanClass') How to solve this? Thanks and Regards, |
Can you try with the latest Arduino IDE? 1.8.1? |
I tried with that.While trying with Arduino IDE 1.8.1 it show no error and shows nothing in the serial monitor also |
problem is that you have some library named WiFi in your Arduino libraries folder. Remove that or rename it (folder and headers) :) |
Thank you very much @me-no-dev @andrei-ivanov |
now make sure that you have a good usb cable and power to your board ;) maybe try external power? |
I'm really sorry. I forget to inform that I got this error when i used "WiFi.begin(ssid,pass);" and it shows there is no "WiFi.mode()" in WiFi. h |
Thank you very much for your responses.I got "CPU HALTED" when i include "WiFI.begin()". I tried with espressif/esp-idf#242 .It shows like the below image. |
check you USB cable. Try external power |
Gracias por la ayuda, yo tuve el mismo problema, me arrojaba el error CPU halted, lo que hice fue cambiar la fuente de alimentación por una de mayor corriente y funciono perfectamente. Espero que les funcione. |
@Alexandravq нямам никаква идея какви ми ги пишеш... |
Is this still a problem? |
@Senthanamuthan if you rename the Documents/Arduino/libraries/Wifi/ folder to /Wifi.old/ and hit "compile" button, do you still get the error ? [edit] I'm using Arduino for multiple environments/sdk and I had to do this to get rid of the same error message. Don't delete the folder as it is probably needed by your other profiles. |
From #218 : also around Arduino IDE and ESP32 as my question is #281 ( only is bluetooth running ?) For your information, i have recompiled yesterday for the ESP32 this wifibluetoothswitch.ino and other example under Arduino 1.6.13 without any problem, ok under PC with W10, The hardware esp32 was set in the hardware directory for esp32-arduino github... If this can help you but for me, ESP32 et Arduino is better now.. from here : https://github.com/espressif/arduino-esp32 and follow under Windows instructions with success.. Best Regards |
@JPB1JPB1 why are you spamming so many issues with your BT question? |
Hello Espressif team
Please, is there a arduino weblink with full support and source code with the 3 interfaces at the same time with power consumption optimization , four bits sd card interface too..
Any weblink and information are welcome.
Br
Jp
|
* Fix ESP-DL component build Changes in the upstream repository require some changes in the component config * For IDF 5.1 use older commit * Update idf_component.yml
I'm new to ESP32.I did one sample code in arduino.
void setup() {
pinMode(4, OUTPUT);
Serial.begin(115200);
}
void loop() {
Serial.println("HELLO");
digitalWrite(4, HIGH);
delay(1000);
digitalWrite(4, LOW);
delay(1000);
}
but the same code is not working with WiFi.h
#include<WiFi.h>
void setup() {
pinMode(4, OUTPUT);
Serial.begin(115200);
}
void loop() {
Serial.println("HELLO");
digitalWrite(4, HIGH);
delay(1000);
digitalWrite(4, LOW);
delay(1000);
}
Please help me
The text was updated successfully, but these errors were encountered: