AAR_ES
May 26, 2024, 11:32am
1
I’m using an ESP32 and I took the example code and this message appears. How do I resolve it?
Compilation ERROR: ‘WIFI’ was not declared is this scope.
I’m trying to use Blynk.Edgent.
I’m using an ESP32 WROOM 32 - I selected the “ESP32-WROOM-DA Module” from the device list.
It helps if you do a quick search before starting a new topic…
I have had 3 working Blynk Sketches I used Arduino to upload code. All have worked great then all the sudden tonight I can not compile. I get an error stating WiFi is not declared in scope on the ConfigMode.H tab. I have noticed if I remove the ssl from #include <BlynkSimpleEsp32_SSL.h> on the BlynkEdgent.H tab it can compile and upload but does not let me add the device to blynk and no wifi hotspot is created. I tried just doing a new sketch using the stock blynk example sketch and adding my te…
Pete.
I have the same problem and I does not find the solution …
What core version are you using?
Pete.
I am using at the time an ESP32S ( with esp WROOM), but I have exactly the same problem with an ESP32-DevKit (with esp WROOM) and with an ESP32-H2-Devkit M1
That doesn’t answer my question.
You’ve clearly either not read, or not understood the solution in the link I provided in post #2 of this topic.
Downgrade to v2.0.14 of the ESP32 core and it’ll fix your issue.
Pete.