Re: ADCIN giving inconsistent results
I changed the code to reset V_total variable at the start of the V_read routine. I am not able to test until I get home. But i was under the assumption that if I did not reset V_Total it would then the last value would be reused in the next readings average.
Also when implementing the low-pass filter on the voltage in what values do you think would work for the resistor and capacitor??
What is a good cut-off frequency??
Thanks again for all the help.
"Reality is merely an illusion, albeit a very persistent one." , Albert Einstein
Bookmarks