Lawrence Lile wrote: > > Anybody got a good averaging algorithm? > [snip] > > Best Regards, > > Lawrence Lile Lawrence Try adding sixteen numbers and then shift right four bits same effect as averaging the sixteen numbers or for more accurate averaging add 256 numbers and then shift right by 8 (averaging 256 numbers) --- need to watch for overflowing the accumulator though. regards Dave