PCBwire
Newbie level 6
Because i am new at 8051, i would like to know:
For example lets use port P1.
If i want to output something i just write P1 = number; in keil C.
As i understand that value will be always on that port until next write.
If it is true, and if i want now to receive something on P1, it can not be received if port is already transmitting something. How to prepare port for input?
For example lets use port P1.
If i want to output something i just write P1 = number; in keil C.
As i understand that value will be always on that port until next write.
If it is true, and if i want now to receive something on P1, it can not be received if port is already transmitting something. How to prepare port for input?