Hi Joep,
Joep Suijs wrote: > > I had an other look at the datasheet and it says the controller is > HD44780 compatible, but has also an serial and i2c interface. > So maybe it is better to split the lcd* libs into an interface layer > (serial, i2c, 4bit, 8bit - init, write_cmd, write_data) and control > layer (set cursor etc)? > If the interface is well-designed, I could use the same setup for the > glcd lib and thus support the grapical dogm displays... Seems a good idea to me. I suppose the application programmer chooses the interface layer (with the appropriate include), and all interface layers include the control layer? Also I assume the interface layer is 'hidden' to the user, has no user-(application) callable functions/procedures (= all names should start with an underscore)? Do you already have a description of how the layers should communicate? Regards, Rob. -- Rob Hamerling, Vianen, NL (http://www.robh.nl/) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
