Thanks mister_e ! I have flipped to page 299 to 302 so many times but never noticed the "D" to "N" change. Doh!
Do you think it is edited out because it is a shared address, only distinguished by the address share bit ADSHR in the WDTCON register?
Currently I have to:
@ bsf WDTCON,ADSHR 'flag address share bit
ADCON0 = %11111000 ' channels with a 0 is analog input, all others digital
@ bcf WDTCON,ADSHR
(or should I say I think? I have to....)
to set the aNcon0 register
(Despite all my mistakes, I am now getting valid conversion results, as of post 4)
Last edited by ScaleRobotics; - 6th May 2009 at 23:34.
http://www.scalerobotics.com
Bookmarks