Rotary Switch and Inputs.
Posted: Thu Oct 10, 2019 6:24 pm
Rotary Switch and Inputs.
I need to make use of a rotary switch on a PIC16F1788 to select 8 inputs.
I’m new to this kind of switches, so
I think I will make use of this rotary switch:
https://nl.farnell.com/1522030 (2 Pole)
or
https://nl.farnell.com/1522028 (4 Pole)
I don’t know the difference to 2 or 4 Pole
They have 5 Pins but how this work to get 10 positions is a question for me. I think this must be done in the software but how I don’t know.
I have looked in the Inputs section from FlowCode but I can’t find a Rotary Switch. Maybe I must buy an extra pack but this I don’t know.
How must I proceed and how does this work ?
I need to make use of a rotary switch on a PIC16F1788 to select 8 inputs.
I’m new to this kind of switches, so
I think I will make use of this rotary switch:
https://nl.farnell.com/1522030 (2 Pole)
or
https://nl.farnell.com/1522028 (4 Pole)
I don’t know the difference to 2 or 4 Pole
They have 5 Pins but how this work to get 10 positions is a question for me. I think this must be done in the software but how I don’t know.
I have looked in the Inputs section from FlowCode but I can’t find a Rotary Switch. Maybe I must buy an extra pack but this I don’t know.
How must I proceed and how does this work ?