Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. #define BLYNK_PRINT Serial
  2. #include <ESP8266WiFi.h>
  3. #include <BlynkSimpleEsp8266.h>
  4.  
  5. // You should get Auth Token in the Blynk App.
  6. // Go to the Project Settings (nut icon).
  7. char auth[] = "NEYTzr5thrk0tbTSJvwSzSkXu5j9mop2";
  8.  
  9. // Your WiFi credentials.
  10. // Set password to "" for open networks.
  11. char ssid[] = "Start";
  12. char pass[] = "1234567890";
  13.  
  14. void setup()
  15. {
  16.   // Debug console
  17.   Serial.begin(9600);
  18.  
  19.   Blynk.begin(auth, ssid, pass);
  20. }
  21.  
  22. void loop()
  23. {
  24.   Blynk.run();
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement