I am using an Arduino MKR 1000 with Blynk, but it keeps saying that it is connecting to blynk cloud. com, and nothing happens.
This what it says in the Serial Monitor:
[1713] Connecting to blynk cloud. com:80
[22022] Connecting to blynk-cloud .com:80
[42030] Connecting to blynk-cloud. com:80
[62038] Connecting to blynk-cloud. com:80
This is my code:
Note: pass, ssid, and auth token are filled out correctly
Also, the #include <BlynkSimpleMKR1000.h> is black and not orange like the other includes, so that may have something to do with the error
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <WiFi101.h>
#include <BlynkSimpleMKR1000.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "";
char pass[] = "";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud. com", 80);
//Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
}