|
In file included from E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino:50:0:
F:\arduino\arduino\arduino-1.8.13\libraries\blynk-library-master\src/BlynkSimpleEsp32.h: In member function 'void BlynkWifi::connectWiFi(const char*, const char*)':
F:\arduino\arduino\arduino-1.8.13\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:47:14: error: 'class WiFiClass' has no member named 'mode'
WiFi.mode(WIFI_STA);
^
F:\arduino\arduino\arduino-1.8.13\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:47:19: error: 'WIFI_STA' was not declared in this scope
WiFi.mode(WIFI_STA);
^
F:\arduino\arduino\arduino-1.8.13\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:49:34: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
WiFi.begin(ssid, pass);
^
In file included from E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino:48:0:
F:\arduino\arduino\arduino-1.8.13\libraries\WiFi\src/WiFi.h:79:9: note: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)'
int begin(char* ssid, const char *passphrase);
^
In file included from E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino:50:0:
F:\arduino\arduino\arduino-1.8.13\libraries\blynk-library-master\src/BlynkSimpleEsp32.h:51:28: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
WiFi.begin(ssid);
^
In file included from E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino:48:0:
F:\arduino\arduino\arduino-1.8.13\libraries\WiFi\src/WiFi.h:60:9: note: initializing argument 1 of 'int WiFiClass::begin(char*)'
int begin(char* ssid);
^
E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino: In function 'void setup()':
ESP32_WiFi_cam_upload_0513:132:25: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
WiFi.begin(ssid, pass);
^
In file included from E:\SWC\arduino-exercise\ESP32_WiFi_cam_upload_0513\ESP32_WiFi_cam_upload_0513.ino:48:0:
F:\arduino\arduino\arduino-1.8.13\libraries\WiFi\src/WiFi.h:79:9: note: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)'
int begin(char* ssid, const char *passphrase);
^
exit status 1
invalid conversion from 'const char*' to 'char*' [-fpermissive]
|
|