??? 07/18/11 10:07 Read: times |
#182884 - Don't say, "make port 0 input" Responding to: ???'s previous message |
Ahmed Naser said:
Don't say, "make port 0 input"; don't think of it that way: Joseph Hebert said: Some might tell you to think of loading 0xFF to P0 as "putting P0 in the input mode." Don't think of it this way. If you do, it will only be a matter of time before you're trying to figure out why something else on the bus isn't working...
http://www.8052.com/faqs/120176 |
Topic | Author | Date |
a keyboard question AT89C51 | 01/01/70 00:00 | |
image of circuit | 01/01/70 00:00 | |
use P0 not P | 01/01/70 00:00 | |
Parity flag | 01/01/70 00:00 | |
How do you write a number to the parity flag? | 01/01/70 00:00 | |
PSW | 01/01/70 00:00 | |
Don't say, "make port 0 input" | 01/01/70 00:00 | |
port 2 not port 0 | 01/01/70 00:00 | |
Too simplified view on input/output | 01/01/70 00:00 | |
Incorrect - look again! | 01/01/70 00:00 |