From: Stefan K. <ste...@cr...> - 2006-08-03 12:09:31
|
Hi Folks, yesterday my DOG-M awaked from death ... There are 14 init-nibbles to send. Without them, the LCD keeps dark. There are instructions for setting 5 bits of contrast-level, internal bias, booster, amplifier and follower (what ever that means ...) and the usual things like 'display on', 'cursor home', 'display clear', 'display size' and so on. If you like to help me, take a look into the datasheets at [1] and [2]. I managed to do a 8bit init via dip-switches ... and it awakes! Then I wrote a shellscript to do the same with 4bit and it worked too. After initialisation lcd4linux runs on the display. I made a few pictures, view it at [3]. But ... I2C _is_ slow. No way to have scrolling lines by now. Luis, what about your 8bit (2x PCF8574) experiment? May I have your details? Adressing, configuration, schematics? The DOG-M seems to use a different way for adressing the positions on the display. I've one with 3 lines / 16 characters and one with 2 lines / 16 characters. Maybe my init isn't correct by now. I'll keep trying more. By the limits of the WRAP-Board, I'll try to plug the DOG-M on the GPIO-header too. There are 7 gpio pins to use. I think, that I could use parts of the "Routerboard" or "Soekris" code for that. But how to integrate into lcd4linux? By now, I think I should add a new 'Model' to the HD44780 section. Is that the right way? I want to have the init-sequence once for both wiring-variants. I want also to have the contrast setting by configuration. Maybe one wants to plug a DOG-M via parport or USB at 5V - it's possible and the init should work for that too. [1] german: http://www.lcd-module.de/deu/pdf/doma/dog-m.pdf [1] english: http://www.lcd-module.de/eng/pdf/doma/dog-me.pdf [2] http://www.lcd-module.de/eng/pdf/zubehoer/st7036.pdf [3] http://gallery.port23.de/v/bastard/wrap/lcd/ MfG Stefan |