Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15427

Error compiling the code

$
0
0

I'm using an ESP 32 and facing this error while trying to integrate with the Blynk IOT, basically there is some issue with the WIFI.h and BlynSimpleESP32.h libraries:

In file included from C:\Users\DELL\Documents\Arduino\Energymeter\Energymeter.ino:7:
c:\Users\DELL\Documents\Arduino\libraries\blynk-library-master\src/BlynkSimpleEsp32.h: In member function 'void BlynkWifi::connectWiFi(const char*, const char*)':
c:\Users\DELL\Documents\Arduino\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:37:14: error: 'class WiFiClass' has no member named 'mode'
         WiFi.mode(WIFI_STA);
              ^~~~
c:\Users\DELL\Documents\Arduino\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:37:19: error: 'WIFI_STA' was not declared in this scope
         WiFi.mode(WIFI_STA);
                   ^~~~~~~~

exit status 1

Compilation error: exit status 1

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 15427

Trending Articles