#7 OLED with winamp wiring.

open
general (6)
5
2005-03-03
2005-02-28
Raiker
No

I have a 20x2 OLED that works perfectly under windows
and somewhat with
lcdproc.
However, with lcd4linux, it doesnt work at all mostly.
All that shows on the display when using lcd4linux are
various characters
all over
the display.

I've used this http://www.fractronics.com/lcdcontrast.gif
wiring.
I belive it's 8-bit winamp wiring.

This is my displaysetup in lcd4linux.conf:
Display HD44780-20x2 {
Driver 'HD44780'
Model 'generic'
UseBusy 1
Port '/dev/parport0'
Size '20x2'
Wire {
RW 'GND'
RS 'AUTOFD'
ENABLE 'STROBE'
ENABLE2 'GND'
GPO 'GND'
}
}

Output from cmd:
./lcd4linux -Fvv
Version 0.10.0-RC2 starting
plugin_cfg.c: Variable tick = '500' (500.000000)
plugin_i2c_sensors.c: using i2c sensors at /sys/bus/i2c/
devices/1-0290/
(autodetected)
[POP3] No 'Plugin:POP3.server1' entry from /etc/
lcd4linux.conf, disabling
POP3 account #1
[POP3] No 'Plugin:POP3.server2' entry from /etc/
lcd4linux.conf, disabling
POP3 account #2
[POP3] No 'Plugin:POP3.server3' entry from /etc/
lcd4linux.conf, disabling
POP3 account #3
lcd4linux.c: initializing driver HD44780
HD44780: using model 'generic'
HD44780: using parallel port
HD44780: using 1 controller(s)
HD44780: using 8 bit mode
udelay: The file 'include/asm/msr.h' was missing at
compile time.
udelay: Even if your CPU supports TSC, it will not be
used!
udelay: You *really* should install msr.h and recompile
LCD4linux!
udelay: using gettimeofday() delay loop
HD44780: using ppdev /dev/parport0
HD44780: wiring: [DISPLAY:RS]<==>[PARPORT:INIT]
HD44780: wiring: [DISPLAY:RW]<==>[PARPORT:
AUTOFD]
HD44780: wiring: [DISPLAY:ENABLE]<==>[PARPORT:
STROBE]
HD44780: wiring: [DISPLAY:ENABLE2]<==>[PARPORT:
GND]
HD44780: wiring: [DISPLAY:BACKLIGHT]
<==>[PARPORT:GND]
HD44780: wiring: [DISPLAY:GPO]<==>[PARPORT:
GND]
HD44780: using busy-flag checking
initializing layout 'Default'
lcd4linux.c: starting main loop

I've tried with both 0.10 RC1 and RC2, same result.

Discussion

  • Michael Reinelt

    Michael Reinelt - 2005-03-03
    • assigned_to: nobody --> reinelt
     
  • Michael Reinelt

    Michael Reinelt - 2005-03-03

    Logged In: YES
    user_id=2692

    You are right, it *iis* WinAmp wiring. But your
    lcd4linux.conf is *not* WinAmp Wiring: The line
    RW 'GND'
    should read
    RW 'AUTOFD'
    The strange thing is that your logfile correctly uses
    AUTOFD.... are you shure the logfile and the lcd4linux.conf
    fit together?
    You could try to change "UseBusy" to 0. Maybe it's a timing
    problem.

    And after all: please don't use the SF trackers anymore,
    either use the mailing list (preferred at the moment) or the
    Trac ticket system on the new homepage....

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks