Hi all
I want to attach 6 sensors to a 6 connector rotary switch.
Each sensor will go to the same ADC port of a PIC16f690.
I want to know which sensor is feeding input to the ADC pin.
Can anyone think of a way of detecting which connector is currently selected - best case scenario, using only one other pin of the PIC.
I want to attach 6 sensors to a 6 connector rotary switch.
Each sensor will go to the same ADC port of a PIC16f690.
I want to know which sensor is feeding input to the ADC pin.
Can anyone think of a way of detecting which connector is currently selected - best case scenario, using only one other pin of the PIC.