Here's one possible way.
http://www.picbasic.co.uk/forum/show...3267#post13267
Although I never did hear back from ANYONE.
I have used it myself since that post.
No problems found.
It's based on my original Averaging routines ...
Averaging 16 bit values without using 32 bit math?
http://www.pbpgroup.com/modules/wfse...hp?articleid=7
HTH,
Bookmarks