| ??? 02/18/04 11:31 Read: times |
#65011 - RE: Print to LCD Responding to: ???'s previous message |
Haven't found "receiving data from LCD" (yet), but this would apply:
WAIT_LCD:
SETB EN ;Start LCD command
CLR RS ;It's a command
SETB RW ;It's a read command
MOV DATA,#0FFh ;Set all pins to FF initially
MOV A,DATA ;Read the return value
JB ACC.7,WAIT_LCD ;If bit 7 high, LCD still busy
CLR EN ;Finish the command
CLR RW ;Turn off RW for future commands
RET
and that's not what the chkbusy() function does... Actually chkbusy raises and lowers EN line in each iteration of the do-while construct, and I doubt that this was meant to be the proper way... regards Patrick |
| Topic | Author | Date |
| Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD, oops! | 01/01/70 00:00 | |
| RE: Print to LCD, oops! | 01/01/70 00:00 | |
| RE: Print to LCD, oops! | 01/01/70 00:00 | |
| RE: Print to LCD, oops! | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
| RE: Print to LCD | 01/01/70 00:00 | |
RE: Print to LCD | 01/01/70 00:00 |



