??? 06/21/06 07:26 Read: times |
#118696 - LCD fun Responding to: ???'s previous message |
Rodrigo, you call the subroutine 'habilita' that writes the command and should delay after it is written, but your code does not do this.
habilita: setb En ; Enable. nop nop nop clr En ; Disable. decr1: djnz R2, decr1 ret The delays are critical for the LCD to operate correctly. Also you will probably need pullup resistors on the P0 signals. Try 10k. The function set * 4 is used for 4bit mode methinks. |
Topic | Author | Date |
LCD does works but not display | 01/01/70 00:00 | |
function set x4 | 01/01/70 00:00 | |
LCD fun | 01/01/70 00:00 | |
an LCD | 01/01/70 00:00 | |
Delay | 01/01/70 00:00 | |
SOLUTION![]() | 01/01/70 00:00 |