Just having it loop in one place like the code Pommie or I showed will work.
Here is some usefull info on ADC from Microchip: https://www.electro-tech-online.com/custompdfs/2008/06/adc.pdf
Here is some usefull info on ADC from Microchip: https://www.electro-tech-online.com/custompdfs/2008/06/adc.pdf
Last edited: