Many devices have a single button for multi-selection.
For example, there are three selection A, B, and C with one button. First push of the button, it selects A. If we don't want, we can keep pushing the button again to move to B, and so on...to come back to A.
What to call this? What chip name or number? Bottom line, how to create this circuit?
Is this an Arduino question? If so, see the state change detection example in the IDE examples (File, Examples, Digital). In it you count the button presses and can choose an action based on push count.
Thanks for your reply!
No, it is general question for electronic circuit design, maybe relate to coding.
I want to know the terminology to make a research. (for example, a regulator to create a 5V from 12V source, we called BUCK converter...).
No, it is general question for electronic circuit design, maybe relate to coding.
I want to know the terminology to make a research. (for example, a regulator to create a 5V from 12V source, we called BUCK converter...)
In coding, its just more of a sequence and I doubt has any name. In hardware, it could be called a "ring counter". Your one push button A-B-C-A-B-C... sequence example could be considered a 3-bit ring counter if this logic was in hardware.
This function could be done by a counter IC, like the 4017.
If you want to do this without programming, you can use a chip like that.
There's plenty to be found on that IC.