Closed darkpanda08 closed 1 year ago
In the Blynk example generator for Arduino uno with esp8266 wifi module (https://examples.blynk.cc/?board=Arduino%20Uno&shield=ESP8266%20WiFi%20Shield&example=GettingStarted%2FBlynkBlink), the following code on compiling gives error as 'IPAddress' was not declared in the scope. Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);
Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);
If the IP address is declares as a Character then used it works properly. char server[] = "IP_of_server";
char server[] = "IP_of_server";
Blynk.begin(auth, wifi, ssid, pass, server, 8080);
In the Blynk example generator for Arduino uno with esp8266 wifi module (https://examples.blynk.cc/?board=Arduino%20Uno&shield=ESP8266%20WiFi%20Shield&example=GettingStarted%2FBlynkBlink), the following code on compiling gives error as 'IPAddress' was not declared in the scope.
Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);
If the IP address is declares as a Character then used it works properly.
char server[] = "IP_of_server";
Blynk.begin(auth, wifi, ssid, pass, server, 8080);