4 Line LCD Problem with LCD8() & Samsung Controllers

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

4 Line LCD Problem with LCD8() & Samsung Controllers

#1 Post by xor » 14 Apr 2008 16:31

Reference the following thread:
http://www.mikroe.com/forum/viewtopic.php?t=14488

The problem is not with HD44780 but with the so-called compatible controllers such as the KS0066 and ST70066. All three have slightly different startup initialization.

In the above referenced thread it seems that the present initialization will work for these other controllers, but the problem is that it sets up for only 1-Line LCD operation with the latter 2 mentioned controllers. This creates a problem for a user and his 4 Line LCD since startup should be in 2-Line mode.

I propose this change in the initialization routine of LCD8(). Instead of clocking in 48, 48, 48, and then 56 for the first 4 values (fine for HD44780), clock in these first 4 values, 56, 56, 56, 56.

This should not make any difference or adversely effect startup for the HD44780, but might make just enough difference to start the other controllers in 2-Line mode.
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

Post Reply

Return to “mikroC Beta testing”