I have connected keypad to adc pin, cap size is 0.1uF. Problem is by connecting this capacitor the value don't change instantaneously due to which ADC value gets wrong & if I don't connect this then there is noise on pin. How to tackle this issue. I am sampling pin at 10ms