| ??? 02/05/04 12:17 Read: times |
#64054 - RE: 8051 with LCD Responding to: ???'s previous message |
But I have a problem with the WAIT_LCD PROC. It sets all bits of ODATA to 1s (FFh) but it then checks if bit 7 of ODATA is low otherwise it loops back to WAIT_LCD. If this is the case will this not be an endless loop as bit 7 will always be high in this procedure or am I interpreting the code wrong. It sets all bits of ODATA to 1: this way you can define your port as input. And bit 7 will be cleared by the LCD as soon as the LCD is ready... regards Patrick |



