Unused outputs

thunderace7

New Member
Hi.
Using a 28X2, I have defined Port A as being all outputs except A.3 which I will use as ADC input. I then send data to the port using let porta=%00000111, for example. As port A only has 4 pins (5, including the one shared with the programming port), and one of them is an input, what happens to the data for the extra pins? Is it just ignored?
 

inglewoodpete

Senior Member
The data is stored in the output latches but the outputs of these latches are not connected to the physical pins. Refer to the Microchip data sheet for the PIC18F25K22
 
Top