??? 12/19/04 01:26 Read: times |
#83449 - Points to check Responding to: ???'s previous message |
Hi Mehmet,
Your last posting showing the highlighted changes looks OK. But if still your display is staying silent then look at these areas : - In my code the function to generate delay is highly suspect, particularly with a new set up! Run the code on Keil debugger and profile that fucntion to know what kind of delays it actually will produce for your MCU setup. Then change the load values accordingly. - Better still switch over to the much more reliable interrupt based delay. - In your code I find that you have added a 1ms delay after the enable high to enable low. This really is not needed - the Enable pulse width for the HD44780 is at a minimum of 230ns and if you are running an MCU, say at 1 microsec / instruction, no more additional delays are needed. - However you HAVE to check the rise/fall times AT the Enable pin of the LCD. This is at a maximum of 20ns! In many cases I have had problems with this. - Last : Have you checked on the contrast setting of the display ? Maybe it is displaying fine - only that it is invisible to you!! Raghu |
Topic | Author | Date |
C Code for LCD | 01/01/70 00:00 | |
code | 01/01/70 00:00 | |
Changes as comments | 01/01/70 00:00 | |
re: code | 01/01/70 00:00 | |
debugging? | 01/01/70 00:00 | |
Points to check | 01/01/70 00:00 | |
solution | 01/01/70 00:00 | |
lcd display problem | 01/01/70 00:00 | |
how to help when not knowing with what | 01/01/70 00:00 | |
lcd display problem | 01/01/70 00:00 | |
Contrast Problem. | 01/01/70 00:00 | |
CONTRAST pot ? | 01/01/70 00:00 | |
lcd display problem ....solved![]() | 01/01/70 00:00 |