Created
May 30, 2019 16:46
-
-
Save iamgoangle/ede3a416e2d54c2eecd26c58e8ab7ae1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /** | |
| * @project Controle LED via WiFi with Blynk | |
| * @author Teerapong Singthong <st.teerapong@gmail.com> | |
| * @desc medium.com/iamgoangle | |
| */ | |
| #define BLYNK_PRINT Serial | |
| #include <ESP8266WiFi.h> | |
| #include <BlynkSimpleEsp8266.h> | |
| // Blynk Auth Token | |
| char auth[] = "xxx"; | |
| // WiFi | |
| char ssid[] = "xxx"; | |
| char pass[] = "xxx"; | |
| 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