
Originally Posted by
Fredrick
Did you ever get the display to work in 4 bit mode?
All my circuits that use these LCDs are configured in 4 bits mode. Here is one example.
If you're using one of these ELECTRONIC ASSEMBLY LCDs, the most important point is the initialisation sequence, especially, the 1 second PAUSE to settle the module.
Code:
' DOGM LCD display Mandatory settings
PAUSE 1000 'Time to settle Vdd (THIS IS VERY IMPORTANT!!!)
LCDOUT $FE, $29 'Function Set: 4 bits bus mode
LCDOUT $FE, $1C 'Bias set
LCDOUT $FE, $55 'Power control + Contrast (HiByte)(for 5V=$52/3,3V=55)
LCDOUT $FE, $6D 'Follower control (5V=$69/3,3V=6D)
LCDOUT $FE, $75 'Contrast (LowByte)
Bookmarks