Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #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[] = "YourAuthToken";
- // Your WiFi credentials.
- // Set password to "" for open networks.
- char ssid[] = "YourNetworkName";
- char pass[] = "YourPassword";
- void setup()
- {
- // Debug console
- Serial.begin(115200);
- Blynk.begin(auth, ssid, pass);
- }
- void loop()
- {
- Blynk.run();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement