On 30 Aug 2008, at 19:34 , Joep Suijs wrote: > I just came across the lcd.jal at Stef's site and noticed it is much > more advanced then the one we have here. It supports IO lines > scattered over the whole chip, advanced programming of the display > (like redef chars) and also sharing the io lines of the lcd for other > purposes. > > Are you aware of this?
Yes, I ripped it and threw a lot of the advanced stuff out. I'm still not oo happy with it and I'm mulling a reversal to the old style hd44780_xxx procedures. IMHO hd44780_line2 is much better then lcd_set_cursor(1,0) where 1 means line 2 and 0 means char 1. Meta-question: while we agree on counting from 0 inside the PIC, should we count from 1 outside it? Also if the datasheet of the external IC starts counting from 0? For instance should a 4x20 LCD have line_1 .. line_4 or line_0 ..line3? > And would it be worth while to add some of this features? Especially > the IO scattering and sharing need to be part of the base lib (could > be an alternative one, though). I wasn't too fond of the separate data lines. These LCD sample programs are written for newbies and it's nice to have the LCD on one port. This is much more compatible with the Dwarf boards as well. > The rest could be an add-on lib (and > left for now, for the first one to need it in a project ;-) Yes. > > Joep > > > --- ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands tel+31-546-491106 fax+31-546-491107 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
