Try ADCON1 = %00001111. Deduct 1 point from your score...;o}
Try ADCON1 = %00001111. Deduct 1 point from your score...;o}
Wow Bruce you are correct! But did I miss an errata sheet or is my trouble reading the table in the attached document
---------------------------------------------------------------------------
In any event I am back in the running. I owe you for this. You can take five of my points and add to your score.
Thanks again
I'm not sure what to tell you about the MS Word DOC, but here's what's in the 18F4420
datasheet.
I think I figured it out Bruce
You provided data from Publication - DS39631E
=============================
PIC18F2420/2520/4420/4520
Data Sheet
28/40/44-Pin Enhanced Flash
Microcontrollers with 10-Bit A/D
and nanoWatt Technology
=============================
I was reading from publication - DS39564C (appears an earlier pub)
=================================
PIC18FXX2
Data Sheet
High-Performance, Enhanced Flash
Microcontrollers with 10-Bit A/D
=================================
I don't remember how I got the one I was using, but it is WRONG
concerning the ADCON1 register. I will be ceremonially disposing of the
incorrect publication this evening, it is sure to be festive event.
Once again "garbage in, garbage out".
Thanks again
That one just covers the 18F242, 252, 442 and 452 series. Always download the one
specific to the PIC you're using. Things change a good deal from one series to the next.
Also check for & download any errata sheets that might be available. These can save you
a LOT of time. Some series may have a problem not listed in the primary datasheet.
The 18Fxx20 series have 5: http://www.microchip.com/wwwproducts...cName=en010270
Bookmarks