> Pic Dude wrote: > > > > What am I doing wrong here? I tried to configure port A as all digital > > inputs, but can't read from it. If I replace port A with port C, it works. > > Here's the init/main part of my code... > The dreaded old bank select problem. Read piclist.com and the data > sheets about register banks and bank switching. > > Quentin > More likely it is the dreaded old "PORT A initializes as analogs problem", read the description of ADCON1 in the datasheet. Bob Ammerman RAm Systems -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.