Search found 2 matches
- Tue Apr 13, 2021 12:11 pm
- Forum: ESP32 Arduino
- Topic: Problems connecting to WIFI
- Replies: 1
- Views: 2724
Re: Problems connecting to WIFI
I have tried a ton of times now, and what I get the feeling of is the following: 1) after changing code and uploading, it works exactly ONCE to instantly connect to the wifi 2) since I have a 15s loop of connect/disconnect in my loop(), this also means that after 1) above (still the same boot) it do...
- Sun Apr 11, 2021 6:39 pm
- Forum: ESP32 Arduino
- Topic: Problems connecting to WIFI
- Replies: 1
- Views: 2724
Problems connecting to WIFI
I have a sparkfun thing esp32, and I want it to connect to my wifi. Its a 2.4GHz wifi with WPA. I am using the following code: #include <WiFi.h> WiFiClient wifiClient; // needed later for MQTT void connectWIFI() { Serial.printf("[WIFI] Connecting to network %s ...\n", WIFI_SSID); WiFi.begin(WIFI_SSI...