the low range internal vref gives you 15 steps of 0.208 volt steps starting at 0v
the high range internal vref gives you 15 steps of 0.156 volt steps starting at 1.25v
if you don't need the cout as an actual physical output CM<2:0> = 110 is a better choice
and lets you chose pin 6 or 7 as your input (select with cmcon0.3 "CIS")
why waste pins on a 8 pin chip
0000=0
0001=1
0010=2
0011=3
...................etc etc
its called binary
Bookmarks