??? 06/06/06 05:37 Read: times |
#117826 - Wait_LCD too soon Responding to: ???'s previous message |
You have to properly initialize the lcd before trying to read the busy flag.
When you initialize the lcd you are setting the number of bits to use, if your lcd happens to default to 4bit operation by default it's never going to make it past your first wait_lcd which happens to be the first thing you do in your code. My lcd datasheet also tells me to send the first init command (in my case '0x38') 3 times before trying to check the busy flag. You might want to check on that too. Hope that helps |
Topic | Author | Date |
i cant send letters to my lcd | 01/01/70 00:00 | |
Probably need... | 01/01/70 00:00 | |
it is an insult | 01/01/70 00:00 | |
Formatted code | 01/01/70 00:00 | |
is it????? | 01/01/70 00:00 | |
Wait_LCD too soon | 01/01/70 00:00 | |
lcd | 01/01/70 00:00 | |
Wokring hardware ? | 01/01/70 00:00 | |
yes, remove all uncommented crap | 01/01/70 00:00 | |
Comments are essential!![]() | 01/01/70 00:00 | |
Some things | 01/01/70 00:00 |