Capacitors act as a short for high frequency signals. If I place a capacitor on a digital 5V PWM line or perhaps a motor encoder line does the cap still act as a short to ground for the square wave signal? My PWM signal is about 50kHz.
Here is the circuit diagram