BLYNK_ATTACH_WIDGET(rtc, V30); not compiling

After upgrading to Blynk 0.4.3 BLYNK_ATTACH_WIDGET(rtc, V30); won’t compile anymore.
I tried to upgrade from Arduino 1.6.9 to 1.8.1 with no effect.

Arduino:1.8.1 (Windows 7), Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
src/Blynk/BlynkWidgetBase.h:43:9: error: 'class WidgetRTC' has no member named 'setVPin'
widget.setVPin(vPin);

I get the error even in the RTC-example if adding BLYNK_ATTACH_WIDGET(rtc, V30); directly after WidgetRTC rtc;

Hello. We changed RTC a bit in latest version. Please follow updated example https://github.com/blynkkk/blynk-library/blob/master/examples/Widgets/RTC/RTC.ino

So the RTC-widget is now hardcoded to V5?
I can’t see any option to set it to whatever pin I like.

RTC widget now not connected to any pin. As it is only server side feature. It is separate Blynk command now. This was done due to conflicts with Device Selector widget.

Thanks. I guess I just misunderstood the app setup text :slight_smile:

App project setup:
RTC widget on V5

Thanks. We will fix it.

I can still compile OK with

BLYNK_ATTACH_WIDGET(RTC, V5);

Should I not be able to? You can also still select a pin in the app.

We will release new version of libraries soon

Yes. In master library.

Yes. It will be changed in next updates.

Ah. I’m using 0.4.3 and I update through the Arduino Library Manager so I suppose I’m a little behind the master.

Good to know!