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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Koen De Ganck
01/20/13 13:41
Read: 1070 times

#189278 - quasi bidirectional ports
Responding to: John Trince's previous message
If you write a '0' to a pin, you can not read a '1'.

you have a conflict.
Write first 0xFF to port 2 before reading.
Have a look at the I/O construction to understand it.

List of 5 messages in thread
8051 QUESTION       JOHN TRINCE      01/20/13 13:07      
   Input/output      Joseph Hebert      01/20/13 13:35      
   quasi bidirectional ports      Koen De Ganck      01/20/13 13:41      
      Hardware      Joseph Hebert      01/21/13 04:41      
         8051 basics      Andy Neil      01/21/13 05:51      

Back to Subject List