When you do an operation like this you ar reading the value of the PIN, not the contents of the output data latch. You gotta understand how an I/O port works before you can actually use it.i have problem with port P0 in 89c51.
P0=0x01;
P0=P0<<1;
when i do this operation P0.1 become low.
what can i do
by Duane Benson
by Jake Hertz
by Duane Benson
by Duane Benson