??? 07/13/06 01:38 Read: times |
#120137 - Some thoughts Responding to: ???'s previous message |
The enable line timing is 1 microsecond , with a minimum 450 ns for each high and low. By inserting a NOP between set En and clear En would insure a long enough pulse. Also, it has been mentioned on this forum that changes to the various pins on the LCD should be done while En is high.
Another point is to call the wait routine before writing to the LCD rather than after only because chances are you will find the LCD not busy before the write and on the whole the program will execute faster. Is there a particular reason for the 10ms delay at the beginning of WAIT_LCD? I have also found that on my Silabs F020 I need to execute the init sequence twice in order for the LCD to initialize reliably. Erik; I believe that 0C0h is the correct address for the start of the second line since the address command requires MSB to be set. Hal |
Topic | Author | Date |
2x16 yj162a LCD glitch | 01/01/70 00:00 | |
are you aware | 01/01/70 00:00 | |
Some thoughts | 01/01/70 00:00 | |
Problem Solved![]() | 01/01/70 00:00 |