Last active
March 25, 2021 10:42
-
-
Save shashankcic/e1dbde5028cfacf394cb6bd3eb80250f to your computer and use it in GitHub Desktop.
Code for the Homote Device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code for Homote | |
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space | |
#include <ESP8266WiFi.h> | |
#include <BlynkSimpleEsp8266.h> | |
// You should get Auth Token in the Blynk App. | |
// Go to the Project Settings (nut icon). | |
char auth[] = "625a196638b84ebe95af9440xxxxxxxx"; // Replaced some characters with x for privacy | |
// Your WiFi credentials. | |
// Set password to "" for open networks. | |
char ssid[] = "Shawshank"; | |
char pass[] = "12345678"; | |
void setup() | |
{ | |
Serial.begin(9600); | |
Blynk.begin(auth, ssid, pass); | |
} | |
void loop() | |
{ | |
Blynk.run(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment