Menu Settings / Slider - Get/Set Index or value programmatically

Can this be done?

Set a menu item programmatically:
Blynk.setProperty(v1, "valIndex, "2"); // For a Menu

Get a menu item programmatically (getProperty it’s sad that it does not exist :frowning: ):
Blynk.getProperty(V1, "valIndex"); // For a Menu
Blynk.getProperty(V2, "value"); // For a Slider

Or else, the menu can push the value to the server every xxx ms?

Thanks :slight_smile:

You may try with Blynk.virtualWrite(V1, index). It may work. I never tried it.

Yes. See

1 Like

It worked! :slight_smile: Great! thanks.