Hippogriff
Member
If I have an n-way rotary switch, for - say - some kind of mode of operation selection, as opposed to simple on / off, like this:
**broken link removed**
...then do I need n pins on a micro-controller to allow me to recognise the mode of operation requested by the user, or is there something 'smart' I can do to utilise a single input pin (one I'd alias as "MODE") and then check a value on it - not just high or low - by something else (probably provided to the micro-controller by something inbetween the rotary switch and the pin) that differentiates the fact that the switch is in position 0 to position n?
**broken link removed**
...then do I need n pins on a micro-controller to allow me to recognise the mode of operation requested by the user, or is there something 'smart' I can do to utilise a single input pin (one I'd alias as "MODE") and then check a value on it - not just high or low - by something else (probably provided to the micro-controller by something inbetween the rotary switch and the pin) that differentiates the fact that the switch is in position 0 to position n?
Last edited: