Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/18/01 22:20
Read: times


 
#11705 - RE: Question about I/O 8051, but when...
Your example indicates you are trying to set a bit with a byte write.mov
---> Px.x,#255 maybe you mis-typed but

if an individual port pin is to be used as an input set it directly:

setb p1.2

If an entire port is used for input then..

move p1,#0FFH

regards,
p




List of 3 messages in thread
TopicAuthorDate
Question about I/O 8051, but when...            01/01/70 00:00      
RE: Question about I/O 8051, but when...            01/01/70 00:00      
RE: Question about I/O 8051, but when...            01/01/70 00:00      

Back to Subject List