fork download
  1. #define BLYNK_PRINT Serial
  2.  
  3. #include <ESP8266WiFi.h>
  4. #include <BlynkSimpleEsp8266.h>
  5. // You should get Auth Token in the Blynk App.
  6. // Go to the Project Settings (nut icon).
  7. char auth[] = "fhiQ_aTtrFIHgi_KWdIh9XSAw27WBiSX";
  8. BLYNK_TEMPLATE_NAME "SMART LOCK SYSTEM"
  9. // Your WiFi credentials.
  10. // Set password to "" for open networks.
  11. char ssid[] = "Lsm Kutty";
  12. char pass[] = "12345688";
  13. void setup()
  14. {
  15. // Debug console
  16. Serial.begin(9600);
  17. Blynk.begin(auth, ssid, pass);
  18. // You can also specify server:
  19. //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  20. //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
  21. }
  22. void loop()
  23. {
  24. Blynk.run();
  25. // You can inject your own code or combine it with other sketches.
  26. // Check other examples on how to communicate with Blynk. Remember
  27. // to avoid delay() function!
  28. }
Success #stdin #stdout 0.02s 25864KB
stdin
Standard input is empty
stdout
#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "fhiQ_aTtrFIHgi_KWdIh9XSAw27WBiSX";
BLYNK_TEMPLATE_NAME "SMART LOCK SYSTEM"
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Lsm Kutty";
char pass[] = "12345688";
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();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
}