| ??? 07/18/11 11:34 Read: times  | 
#182885 - port 2 not port 0 Responding to: ???'s previous message  | 
Maarten brook: it is not parity flag i just made a mistake in programming it is p2(port 2)
 andy:so what i understood is that when ever i want to use any port as output we write a 0 to it to make it open drain that way it won‘t accept any incoming data so if i need to use it as input i write 1 to it in order for the port to accept incoming data (ground or Vcc) but i have done thise and the port does not work at all and thank u for information andy and every one helped me...  | 
| 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 | 



