??? 02/02/08 09:11 Read: times |
#150205 - HD44780 in 4 bit mode timings Responding to: ???'s previous message |
I am impressed that you are following the data sheet. Your code looks OK apart from the PORT |= data error.
When you get it all working, you will either read the Busy flag or rely on instruction timing between commands. The enable strobe only needs to be >500nS. Regular writes only need to be >37uS (some chips ask for 42uS). Only RTN and CLS commands need >1520uS (some chips ask for 164uS). Visit AvrFreaks.net to see an average three different threads every day about why LCD initialisation does not work. They ALL violate the timing sequences. David. |