Skip to content

Instantly share code, notes, and snippets.

@iamgoangle
Created May 30, 2019 16:46
Show Gist options
  • Select an option

  • Save iamgoangle/ede3a416e2d54c2eecd26c58e8ab7ae1 to your computer and use it in GitHub Desktop.

Select an option

Save iamgoangle/ede3a416e2d54c2eecd26c58e8ab7ae1 to your computer and use it in GitHub Desktop.
/**
* @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