Create a 3 state button

hi everybody

I thought I "mastered" the thing but it's the final touch of my application and I panic
I don't know how to test what to verify and the more I test, the more the solution gets away
does anyone have a schematic of a three state button that takes three different colors
?

regards

You can have as many states as you want:

blocks(9)

Mike.

hi

thanks for your answer

the example you give is a 3 or 4 state button ?

in my app i associate a variable for each color i don't need a counter ?

regards

What is your code so far?

Post your blocks.
Mike.