From: Michael R. <re...@eu...> - 2004-01-31 20:01:22
|
Hi Xavier, > I don't know either these displays, but my opinion slightly differ from > yours. Other drivers like MatrixOrbital implement a sort of "models" > while HD44780 just knows a "any" model. There should be different > entries, like "genric" - "vfd" - "soft contrast", ... and then register > relevant functions depending on the model specified on the conf. I > don't think there's a sort of model autodetection with HD controller. As always, you are very right! And this is a very very very good idea, as it solves another problem we are facing: (Martin, are you listening?) Martin's special gpio-parport-soekris-whatever-it-is-called-today implementation that is capable of using 4 bits as input and 4 for output can be handled exactly this way! So the user has to specify a "Model" in the config, if he specifies "gpio" (or however you want to call it, Martin), we suppose the user knows what he's doing, and allow 4-bit-busyflag. With all other models, we permit it. Now that's what I call a clean solution! bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |