srija
Member level 1
hi...
I have a small question about reading the ports of the PIC microcontoller??
I am using a breadboard for connecting the pic with external devices.
I am trying to read the data from one port and writing that to the other port.
for this i am using simple wires directly connecting the 5v(logic 1) and 0v(logic 0) to a port and blinking the leds on the other port to display same data.
But i am not getting the output...if i mention some value to the port in program i am getting the output.
is it a correct way of reading???
will the pic reads the data in this way???
Thanks in advance if any replies..........
I have a small question about reading the ports of the PIC microcontoller??
I am using a breadboard for connecting the pic with external devices.
I am trying to read the data from one port and writing that to the other port.
for this i am using simple wires directly connecting the 5v(logic 1) and 0v(logic 0) to a port and blinking the leds on the other port to display same data.
But i am not getting the output...if i mention some value to the port in program i am getting the output.
is it a correct way of reading???
will the pic reads the data in this way???
Thanks in advance if any replies..........