Quote Originally Posted by gadelhas View Post
Hi;

Following what Dave has said, take a look at this link, by Darrel Taylor;
http://www.darreltaylor.com/DT_Analog/

By the way rasciodc, i'm Portuguese too, i'm from Maia.
Thanks, gadelhas, for the link! very useful!! mainly for beginners like me!
And, actually I´m Brazilian! living in São Paulo at the time....

Just accumulate 64, 10 bit readings in a row into the same word variable, then do a shift to the right by 4 places which will give you a 12 bit result.
Dave, thanks for the explanation! How much time would this algorithm take to do this, any idea? (just wondering if I can use it in my altimeter...)
Thanks!