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

Style Button switch mode not working

iOS 13.5.1
Blynk server
Blynk Library version = 0.6.1 ESP32

I am using a Style Button and it seems that there is no change in behavior between push or switch mode.
The button act in push mode even in switch mode from a GUI perspective.

Are you aware of any issue? The app version on iOS is 2.26.5.

Thank you for your help.

My guess is that you haven’t selected a pin for the Styled Button widget. With no pin selected then the push/switch behaviour is the same (non-latching). When you select a pin then the switch option latches as expected.

Pete.

Hi Pete,

Indeed, I am using two devices and the pin was assigned to the wrong one. Sorry for bothering, I just discovered it myself. Have a nice day.

Didier

1 Like