saur
Member level 2
I'm making a project....in which i made port 0 output port using commands:
Then I sent commands such as (3Fh,FFh,etc)for Glcd through p0...
for this purpose i sent commands as follows:
after making p0 output port
but then if I want to send data I give command
but I am feeling that the 8051 is not considering this as a command to make p0 input port, but as a data to be sent through output port 0..
So is there any way to check it?
Pls help me with this...
thanking u all....
waiting for ur replies....
Code:
mov a,#00h
mov p0,a
for this purpose i sent commands as follows:
after making p0 output port
Code:
mov a,#3fh
mov p0,a
mov a,#0ffh
mov p0,a
Code:
mov a,#0ffh
mov p0,a
So is there any way to check it?
Pls help me with this...
thanking u all....
waiting for ur replies....
Last edited by a moderator: