I still would like to know how to "read" the 0,6V (VP6) channel. This voltage reference is provided by the PIC itself.
If I set the ADSCON0 register to (i.e.) %10110100 (right just., VDD, 0,6V Reference, ADC is ON), what is the PICBASIC command to read that channel? If it is ADCIN, then ADCIN what?
I tried with:
because I see channels from 0 to 11 in the DS, maybe "0,6 V ref" would be the 13th...and PBP accepts the compilation but the ADCIN result shows always 0Code:ADCIN 13, myvar![]()
Bookmarks