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 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.