Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Last active September 9, 2017 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsBergqvist/a00003f4e9834f5500beec7c3abb1f42 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/a00003f4e9834f5500beec7c3abb1f42 to your computer and use it in GitHub Desktop.
setup() and loop() for blynk example
void setup()
{
Serial.begin(9600);
pinMode(BEEP_PIN, OUTPUT);
dht.begin();
Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,16),8442);
timer.setInterval(TIMER_INTERVAL, timerEvent);
}
void loop()
{
Blynk.run();
timer.run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment