| ??? 01/11/07 12:01 Read: times | #130628 - Doh! Responding to: ???'s previous message | 
| Abhishek Singh said: Andy Neil said: In the 8051, you turn the P0 transistor OFF by writing a '0' to the Port bit;
 In the 8051, you turn the P0 transistor ON by writing a '1' to the Port bit. In the 8051, you turn the P0 transistor ON by writing a '0' to the Port bit; In the 8051, you turn the P0 transistor OFF by writing a '1' to the Port bit; Yes that's right - I typed that completely backwards! You write a '0' to the port register to turn the transistor ON so that it "pulls" the line "down" to ground - giving you a low level (ie, logic 0) at the pin. Sorry. I think the rest was right, though? | 




