BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Bridge clarification

I need “time functions” on my slave device, but I do not need the widget as i have that already on the master device. Am i correct in assuming that all i need in the code of the slave device is the following

Blockquote
#include <WidgetRTC.h>
&
BLYNK_CONNECTED()
{
Blynk.syncAll();
rtc.begin();
}

I dont need “WidgetRTC rtc;” because i do not need the widget.

I found out you actually do because WidgetRTC rtc; declares rtc.