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

Can I use more than one LCD Widget in one project ? and how?

I select different pin in Blynk but I can’t separate WidgetLCD in my code.
like this

WidgetLCD lcd(V2);
WidgetLCD lcd(V3);

I can’t complie this with a same name.

Sorry, I’m not good at english.

Blynk version 2.27.19
Android 10

It needs to be.
WidgetLCD lcd(V2);
WidgetLCD lcd1(V3);
Or something different than the first “lcd” then in your code when you want to write to the other use “lcd1.print”

2 Likes