TemplateID
is. Device Name
can be any. AuthToken
is a unique identifier generated by Blynk.Cloud. Every device should have it. For the Quickstart process, we generated a new device automatically. When it was created, a new AuthToken was generated for it. We just took this AuthToken and inserted it into your sketch. char pass[] = ""
V0 Datastream
V1 Datastream
and V2 Datastream
V0 Datastream
, and then records the value to a variable. We use BLYNK_WRITE(V0)
for that.Blynk.virtualWrite(V1, value);
BLYNK_CONNECTED
. When device successfully connects to the Blynk Cloud, we change the URL of an image to show in the widget and also assign a click URLBlynk.begin()
we use AuthToken and WiFi credentials to get your device online and authenticate in Blynk.Cloud. void loop()
is also a standard Arduino code that continuously runs after void setup()
. Blynk.run()
- this is where all the Blynk magic happens. This routine keeps the connection with the Blynk.Cloud, syncs the data, checks for new firmware OTA and much moretimer.run()
runs the timer function