Last active
September 9, 2017 19:08
-
-
Save LarsBergqvist/a00003f4e9834f5500beec7c3abb1f42 to your computer and use it in GitHub Desktop.
setup() and loop() for blynk example
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
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