The problem of LCD 1602e enable terminal
Author:Ding Meng Time:2021-07-22 14:37 Browse(381)
If you want to read the LCD register information, you should make e high level, and then read out the data. When writing instructions or information, first make e high level, then send the instructions or data to the data line, and then make e low level, so that the information is written into the LCD
If you want to read the LCD register information, you should make e high level, and then read out the data. When writing instructions or information, first make e high level, then send the instructions or data to the data line, and then make e low level, so that the information is written into the LCD. I'll give you the program to write the data, and you can see it.. LCD_ WRD: LCALL CHECK_ BF ; Write data to the LCD program, check_ BF is a subroutine to detect the busy state of LCD. SETB RS。 CLR RW。

The problem of LCD 1602e enable terminal

SETB EN。 MOV LCD,A ; Write the information of a register to LCD, which is the interface connecting LCD data line. CLR EN。 RET。 I don't know whether you use proteus simulation or do experiments on the experimental board. When you say port swapping, you mean swapping in the program, in the Proteus schematic, or in the experiment. But no matter what kind of it, the hardware and software must be switched at the same time, that is to say, the schematic diagram is switched, or the pins on the experimental board are switched, and the software must also be switched, otherwise the display result is definitely wrong..
Related topics