upand_at_them
- Joined May 15, 2010
- 940
Also, not addressing your filter question, but since you seem to indicate that you don't need full resolution, you might consider left-justifying the result and using the ADRESH register. It makes the math easier. You'll lose the bottom two bits of the result, but have just one byte to work with. The result will, of course, be 0-255.