My 20x2 OLED works fine on my firend's Windows box but when I run it on my Linux machine with LCD4Linux (and lcdproc) the characters are misplaced and other "bad" characters are mixed in.
The display is supposed to be "compatible with HD44780" according to the manufactorer
http://www.fractronics.com/2x20oled.shtml
I have used this wiring
http://www.fractronics.com/lcdcontrast.gif
but I don't know it it's a 4-bit, 8-bit or Winamp. What I _do_ know is that the Winamp wiring example shown on
http://lcd4linux.sourceforge.net/display/hd44780/main.html
is the only one that lights up the dispay at all. This is my /etc/lcd4linux.conf:
# /etc/lcd4linux.conf
Display "HD44780"
Port "0x378"
Size "20x2"
# Winamp wiring
Wire.RW "AUTOFD"
Wire.RS "INIT"
Wire.ENABLE "STROBE"
Wire.GPO "GND"
row2:"hello world"
and the result from lcd4linux -Fvv:
# lcd4linux -Fvv
Version 0.9.11 starting
lcd4linux.c: initializing driver HD44780
HD44780: controlling 0 GPO's
wiring: using display with 1 controllers
wiring: using 8 bit mode
wiring: [DISPLAY:RS]<==>[PARPORT:INIT]
wiring: [DISPLAY:RW]<==>[PARPORT:AUTOFD]
wiring: [DISPLAY:ENABLE]<==>[PARPORT:STROBE]
wiring: [DISPLAY:ENABLE2]<==>[PARPORT:SELECT]
wiring: [DISPLAY:GPO]<==>[PARPORT:GND]
udelay.c: CPU supports Time Stamp Counter
udelay.c: CPU runs at 2210.766000 MHz
udelay.c: using TSC delay loop, 2211 ticks per microsecond
parport.c: using raw port 0x378
processor.c: Display: 2 rows, 20 columns, 5x8 pixels, 0 icons, 0 GPOs
processor.c: ========================
processor.c: Timings:
processor.c: 500 msec Text updates
processor.c: 100 msec Bar updates
processor.c: 100 msec Icon updates
processor.c: 100 msec GPO updates
processor.c: ------------------------
processor.c: 100 msec data collection
processor.c: 100 msec data processing
processor.c: ========================
processor.c: Row1:
processor.c: Row2:
lcd4linux.c: starting main loop
When I run it the display show the following:
--------------------
* LCD4Linu| 0.=.51
--------------------
which, I assume, is wrong. Anyone have an idea of what I do wrong? The display works fine without hazzle under Windows and jaLCD.
Thanks in advance!
Stefan
|