it's been said at post 59![]()
it's been said at post 59![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
How I can set (configure) ADCON1 register when I use 16F877A external Vref on RA2, RA3
Take a look at table 11-2 in the data sheet.
ADCON1 = %00001111
Sets the VREF pins and makes AN0 analog with the remainder digital.
Bits 6 an 7 will set for 8 or 10 bit resolution and FOSC/x
Dave
Always wear safety glasses while programming.
Bookmarks