From: Martin H. <ma...@he...> - 2004-02-25 13:42:45
|
Koma wrote: > On Tue, 24 Feb 2004 20:40:22 +0100 > Martin Hejl <ma...@he...> Ha Scritto: > > [~] Hi everybody, > [~] > [~] (sorry Michael, I hit "reply" instead of "reply all" by mistake). > [~] > [~] >> # cat /etc/lcd4linux.conf Display "HD44780" > [~] >> Port "0x378" > [~] >> Size "16x2" > [~] >> Bits "4" > [~] >> Wire.RW "GND" > [~] >> Wire.RS "AUTOFD" > [~] >> Wire.ENABLE "STROBE" > [~] >> Wire.ENABLE2 "SELECT" > [~] >> Wire.GPO "INIT" > [~] >> row1:"hello" > [~] > > [~] > > [~] > looks fine, too. > [~] Maybe I'm too old to read the fine-print on the image - but what I _can_ > [~] read at http://www.camscode.org/images/lcd/th_schaltplan.jpg doesn't > [~] look like 4-Bit mode to me. > [~] > [~] Does setting it to 'Bits "8"' help? > [~] > [~] Just a thought > [~] > [~] Martin > [~] > [~] > -Snip- > > Hi i know the italian is the most difficult language to understand :) The language actually wasn't the problem - more the fact that the image was so small that it was very hard to read. > I attach to you the images and the pin set. > And the PDF with the data sheet :) > > Connecting LCD pins to Parallel port pins and power. > > > 1 Earth (Black wire on Molex connector) Earth > 2 +5V (Red wire on Molex connector) Power > 3 Earth (Black wire on Molex connector) > 4 Parallel Port pin 16 (Green/white wire) Register Select > 5 Earth (Black wire on Molex connector) > > > In the schemas: > > Italian English > Porta Parallela Parallel Port > Alimentazione +5 (alimentation power) > LCD You know :D > > Html doc to see the pin usage :) (ciao.html) > > Very very very onorated for your help :D Ok, looking at the schematic you sent, your config looks way off. It if you wired it like on the schematics (and if I didn't screw up reading the schematics), it should look like this: Port "0x378" Size "16x2" Bits "8" Wire.RW "AUTOFD" Wire.RS "INIT" Wire.ENABLE "STROBE" Wire.ENABLE2 "GND" Wire.GPO "GND" I hope that helps Martin |