I have a buddy who is an excellent programmer, although he knows nothing about PICS. Periodically he sends me an eMail reminding me that PORTA defaults to analog. Just in case I forget, again... Last time it happened it only took about 2 minutes to figure it out. Guess I'm getting better at this stuff. Bob Ammerman RAm Systems ----- Original Message ----- From: "Jinx" To: Sent: Monday, June 02, 2003 7:27 PM Subject: Re: [PIC]: Does bsf reset LATA? > > >Why not me ? > > >Or anyone else ? > > >I do think you missed a " :-) " there... > > > > I think you are right. I missed a :-). It was meant to go in there, > > but clearly was lost in transit. No excuses. I screwed up. Mea > > culpa. 1,000 lashes shall be self-administered. > > > > John > > Oh no you don't, we'd like this done properly. MIstress, new client > over here. And make it sting please > > As others have pointed out, ADCON1 needs to be considered. > The table on p182 of DS39564B (452 manual) shows A & D > configuration vs value in ADCON1. Change to all digital by loading > ADCON1 with 06 or 07. Micros with analogue pins (ADC or > comparators) AFAIK all start up with those pins as analogue > inputs. ADCON or CMCON can be set at the time the PORT and > TRIS registers are if necessary > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics