>> various gaits, speeds, etc. by reading PORTA. PORTA is always read as >> 000000 even though it was made all inputs and the pins pulled high with 10K >>pull-up resistors. I prepped PORTA as follows: Tony Nixon wrote: >Try setting the analog inputs (power on default) as digital... > movlw b'00000110' > movwf ADCON1 >PS. ADCON1 is in RAM page 1 >-- >Best regards >Tony OUCH!!! Many thanks, Tony, that was it. Its right there on page 29 of the data sheet, in a highlighted NOTE, no less. Meo culpa, meo culpa, meo maxima culpa. No information on how to configure ADCON1, of course, but the warning is clear. I guess I'd better get the midrange manual or whatever it is they bury this stuff in. Thanks again, John Zeissig To see the 'bot -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu