BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       👉 SKETCH BUILDER

Button with 3 states?

Hej

I want to create a button with 3 states “Off” - “On” - “Auto”

As a normal button only have two states then this probably need to be a workaround.

Any ideas?

/Jan

Hey. Checkout widget “segmented control” (on Android). For iOS it is under Apple review right now.

Hej Dmitriy

Thanks!

/Jan

You can use a normal button too, changing the properties on the fly accordly your needs…

you can create one button with on/off and had longpress to enter automode, so it 'll be 3 states
you can also create a 4th state with a double tap
:wink:

Check below Project from @Gunner, you will see that a simple button can do lot of things, not only on/off… with part of his code and labels you will be able to achieve what you want.