Sorry. i can’t speak english well… :*(
blynk wifi example doesn’t work.
serial monitor shown
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
Connecting to blynk-cloud.com:8442
repeat
but, example with USB Serial is work fine.
why not working if using Wi-Fi??
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <SPI.h>
#include <WiFi.h>
#include <BlynkSimpleWifi.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "{{MY_TOKEN_HERE}}";
// Your WiFi credentials
char ssid[] = "MY_SSID";
char pass[] = "666-858-7667"; // Set to "" for open networks
char server[] = "blynk-cloud.com";
/*
* Why add server[]??
* because, connect to server without server[] value.
* "connect to ?lynk-cloud.com:8442" shown.
*/
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, ssid, pass, server, 8442);
// Or specify server using one of those commands:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
//Blynk.begin(auth, ssid, pass, server_ip, port);
}
void loop()
{
Blynk.run();
}