I my application, one of the port is set as input I/O and monitoring signal which is either High (V = 3V) or low (V = 0.5 V). based on status of this input pin MCU makes very important decisions.
Which method between polling vs ADC measurement is preferred in terms of accuracy if input signal in noisy? how software filters should be used to make correct decisions?