I have an application where a push button and mechanical grey-code rotary encoder(user inputs) need to mounted away from main pcb. 24" - 48" away. This is for space and packaging reasons.
Is it OK to have the debouncing RC circuit on the PCB and the switches/encoder remotely connected via cable, or does the debouncing circuit need to be with the switches?
Encoder circuit from datasheet: