Description: Configure MCU A/D converter module, so pairs of D2 region potentiometer sampled, the sampling results show that in the digital pipe. Full-scale voltage of 3.3V, the 10-bit A/D resolution of about 3mV, due to noise, A/D acquisition value will appear noise, try to add a digital filter algorithm to reduce noise effects.
File list (Check if you may need any files):
ad\ad.c
ad