Hi Pavel, It's good to see your using the existing glcd fonts. It sounds like your lib is a glcd, not just lcd. You may want to rename your lib and procedures.
I haven't worked on glcd in a while, but you can see the naming of procedures in glcd_stm032qvt_003.jal I have named some procedures with glcd_ so that my glcd can work with the glcd_common.jal lib to draw fonts and shapes. Other procedures with stm_ since I figured no other libs would use this naming. The glcd_common lib is nice, but I feel it needs work to make it easier to use. I have some ideas, but I don't have the time. Maybe give glcd_common lib a try if you want to draw lines, circles, boxes etc. I think if you make a glcd_write_pixel procedure, you can use many of it's features. one thing to note about the glcd common lib is that there are a lot of procedures with !defined statements, so that you can write your own to replace them. For example, glcd_clear_screen can be in your own lib, even if you include glcd_common. if !defined(glcd_clear_screen) then I'll upload your lib/sample again if you need to. Matt. On Friday, February 27, 2015 at 12:02:17 AM UTC-5, Pavel Milanes Costa wrote: > > Hi to all... > > Tonight I managed to build up a pretty good lib and a decent example, I > have to polish/comment it but there is another question in my mind now. > > It's full compatible with the print+format jallib library. > > This lib is for a limited GLCD module (black/withe aka ON/OFF), it's > just a big 160x32 matrix, my lib is for using these as pure character > devices, like the classic hd44780 > > Used this way It turned to be a 4x26 character device using 5x7 font > from the glcd library of jallib; yes this modules don't have native > character support as others... > > So I have to use the predefined font and "draw" the chars on the screen. > > The question is about the name and classification of the lib. > > Should I classify it as simply lcd_xxx or glcd_xxx? > > As this can handle two type of chipsets I have two optional names > > - lcd_ax6120-sb1661.jal (named as pure char device) > - glcd_ax6120-sb1661_char.jal (glcd it's, but used as char only device) > > I'm voting for the first one, but I'm all ears on this naming issue. > > Cheers. > > -- > M.Sc. Pavel Milanes Costa, CO7WT > SYSOP Nodo Gateway CO9JAZ > Ciudad de Camagüey, Camagüey, Cuba. > Cell: (+53) 53-847819 > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
