??? 06/21/09 10:50 Read: times |
#166308 - A few tips Responding to: ???'s previous message |
- Maybe it would have been a good idea to mention some basic details like your LCD type, clock frequency etc. In the absence of relevant information the process of "guessing" what could be wrong could take long..or forever
- As MK mentioned move the initialization part outside of the while() loop. No need to init your LCD for every loop. - Your delay loop is a big suspense to others. What is the basic unit of the delay ? 1ms ? 5ms ??? And every manufacturer of these LCD module document the exact requirement for initializing. Trust you have followed that exactly. - And till you get the first character on the display, you may try using a fixed delay of a few ms instead of checking the busy bit. Once you can display a character, then you know that the interface is OK; the LCD is not dud; And now you can start querying the busy bit. - Are you atleast able to see the pixels in dark shade when you power up the LCD ? If not your contrast setting may need to be checked... Not sure if the above mean anything. But they have for me in the past. Raghu |
Topic | Author | Date |
Plz help me any one.. | 01/01/70 00:00 | |
Start describing your hw and what you have tested | 01/01/70 00:00 | |
Thank you.. | 01/01/70 00:00 | |
Re-Initialize Inside Loop | 01/01/70 00:00 | |
LCD problem | 01/01/70 00:00 | |
How to debug | 01/01/70 00:00 | |
LCD problem | 01/01/70 00:00 | |
A few tips | 01/01/70 00:00 | |
Thank you.. | 01/01/70 00:00 | |
At least one error | 01/01/70 00:00 | |
Thank you.. | 01/01/70 00:00 | |
At least one error | 01/01/70 00:00 | |
Amazing... | 01/01/70 00:00 | |
Unfortunately not Amazing | 01/01/70 00:00 | |
Thank you | 01/01/70 00:00 | |
DISPLAYING MESG IN LCD, INTERFACE 2 89s52 | 01/01/70 00:00 | |
No replies | 01/01/70 00:00 |