??? 01/27/06 01:37 Read: times |
#108454 - Maybe Rude but right Responding to: ???'s previous message |
Windows do not have a mode to see in or see out. It works both ways. The 8052 ports are the same way they are allways inputs and output. If the port is loaded you get what is on the port, not what you wrote out (Like a PIC). There is no mode register (like a PIC) Writes to the port turn on or off the pull downs. Reads always read the port pins. If you wrote zeros to the Port that is what you read back. If you write zeros and connect the port pit to Vcc you will get a 1 on aread. After you pop the driver the input may still work (I had an OKI emulator chip like that). This Question shows up every month or so. I guess Erik saw it one too many times. |