Original Message: ----------------- From: ivp joecolquitt@clear.net.nz Date: Wed, 17 Feb 2010 18:52:19 +1300 To: piclist@mit.edu Subject: Re: [PIC] ADCON1 and 0x06 >> What configuration chart am I overlooking that describes the settings? >In my copy (DS30292B) it's Page 112 "Register 11-2 ADCON1" >wbr Thank you so much! Somehow I completely missed that section of the datasheet. It makes sense now! >> start bsf STATUS,RP0 ;Switch to Bank1 for ADCON1 >> bcf STATUS,RP1 ;Make sure in Bank1 >Note that BANKSEL ADCON1 is better. It does guarantee that >you are in the right bank and is also easier to read and proof We have not gone over that command in the class yet, though I presume we will. I'll mention it when I email the instructor, as well as experiment around on my own. Regards, Joe -------------------------------------------------------------------- myhosting.com - Premium Microsoft=AE Windows=AE and Linux web and applicati= on hosting - http://link.myhosting.com/myhosting -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist