erickfloors

simple relay control

Nov 23rd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #define BLYNK_PRINT Serial
  2. #include <ESP8266WiFi.h>
  3. #include <BlynkSimpleEsp8266.h>
  4. char auth[] = "token";
  5.  
  6. char ssid[] = "PULPSTONE";
  7. char pass[] = "internet";
  8.  
  9. void setup()
  10. {
  11. Serial.begin(115200);
  12.  
  13. Blynk.begin(auth, ssid, pass);
  14. }
  15.  
  16. void loop()
  17. {
  18. Serial.println();
  19. Blynk.run();
  20. }
Add Comment
Please, Sign In to add comment