??? 04/04/05 19:46 Read: times |
#90994 - I am sure! Responding to: ???'s previous message |
Dear vusi
I am sure your problem is in initializing lcd change your code to this INI_LCD: SETB EN CLR RS CLR RW MOV P0,#38H CLR EN LCALL WAIT_LCD SETB EN CLR RS CLR RW MOV P0,#38H CLR EN LCALL WAIT_LCD SETB EN CLR RS CLR RW MOV P0,#38H CLR EN LCALL WAIT_LCD SETB EN CLR RS CLR RW MOV P0,#0CH CLR EN LCALL WAIT_LCD SETB EN CLR RS CLR RW MOV P0,#06H CLR EN LCALL WAIT_LCD RET Regards Mehdi |
Topic | Author | Date |
Can not write second line on LCD | 01/01/70 00:00 | |
Since you do not believe in comments | 01/01/70 00:00 | |
Comments | 01/01/70 00:00 | |
what would you rather | 01/01/70 00:00 | |
Untidy | 01/01/70 00:00 | |
Code with comments | 01/01/70 00:00 | |
what happened | 01/01/70 00:00 | |
Did you check the second line address? | 01/01/70 00:00 | |
How to post code - detailed instructions | 01/01/70 00:00 | |
neatly formatted, yes but | 01/01/70 00:00 | |
0xC0 is correct | 01/01/70 00:00 | |
Can write anywhere | 01/01/70 00:00 | |
cal which calls which calls which calls | 01/01/70 00:00 | |
Works here | 01/01/70 00:00 | |
timing, maybe... | 01/01/70 00:00 | |
Timing?![]() | 01/01/70 00:00 | |
I am sure! | 01/01/70 00:00 | |
I am not sure now! | 01/01/70 00:00 |