BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Freezing in setup


#22

This works all the time for me…

char auth[] = "xxxxxxxxxx";
char ssid[] = "xxxxxxxxxx";
char pass[] = "xxxxxxxxxx";
char server[] = "xxx.xxx.xxx.xxx";  // IP for your Local Server or pinged IP for Blynk's Cloud server
// char server[] = "blynk-cloud.com";  // URL for Blynk's Cloud Server
int port = 8080;  // Port for TCP or 9443 for SSL


void setup() {
  // ----- Using Blynk.Begin() -----
  // Blynk.begin(auth, ssid, pass, server, port);

  // ----- Using Blynk.config() -----
  WiFi.begin(ssid, pass); 
  Blynk.config(auth, server, port);
  Blynk.connect();
}

#23

Thank you all! Glad to invent with you!
You may close this topic