blynk-sketch-generator icon indicating copy to clipboard operation
blynk-sketch-generator copied to clipboard

Cannot run on UNO R4 WiFi using WiFi

Open balazscseh opened this issue 1 year ago • 0 comments

There isn't an option in the sketch-generator to run on the UNO R4 WiFi. When i select the Arduino board type the ESP32 co-processor is missing under the connection type and with a simple WiFi-Shield option, the IDE gives me the following error:

In file included from C:\Documents\Arduino\blynkdemo\blynkdemo.ino:18:0:
C:\Documents\Arduino\libraries\Blynk\src/BlynkSimpleWifi.h:27:10: error: 'WiFiClient' does not name a type; did you mean 'DNSClient'?
   static WiFiClient _blynkWifiClient;
          ^~~~~~~~~~
          DNSClient
C:\Documents\Arduino\libraries\Blynk\src/BlynkSimpleWifi.h:28:45: error: '_blynkWifiClient' was not declared in this scope
   static BlynkArduinoClient _blynkTransport(_blynkWifiClient);
                                             ^~~~~~~~~~~~~~~~
C:\Documents\Arduino\libraries\Blynk\src/BlynkSimpleWifi.h:28:45: note: suggested alternative: 'BlynkWifiCommon'
   static BlynkArduinoClient _blynkTransport(_blynkWifiClient);
                                             ^~~~~~~~~~~~~~~~
                                             BlynkWifiCommon

exit status 1

Compilation error: exit status 1

balazscseh avatar Aug 27 '23 14:08 balazscseh