Yes, the device I have in hand is a GLCD capable...

But my lib was for a (first and) simple objective: to use them as simple character devices...

In my first review I saw the glcd libs as "fat" for mi simple goal... even in my initial posts I mentioned that point but my ignorance on this subject blind me... and anyone on the list make me note of my mistake...

Now I have learned a little more in the process of build this lib... I have reviewed other code from other libs/languages on the internet and learned a trick or two... and the glcd lib seem pretty good now...

I have in hand another glcd device of other dimensions/chipset and that opens my mind for a multi device point of view, with a real case to study and will try to apply for a mixed character and graphic approach.

I have to review yet the examples and new libs from Mike@watty (I don't have internet at home, just a ridiculously slow 9600 bauds over an amateur radio link) and that must wait until friday on my work, unless some one email me the code, please ZIP it all ;-) no more than 100 kb per single email...

I have my wife at the point of give me a new child in any minute now (it's a boy!!!), I'm on vacation (but very busy) here and will try to review/learn/adapt the code to get the most of it

My work will be in the direction of integrate this two new devices with the actual GLCD library in jallib, there are a lot of variables to try but it's doable...

Results/doubts/examples will be shared with list members, don't doubt to point me a wrong approach or even a mistake from my side.

Please forgive my English if you don't understand me well some times, I'm a Spanish native speaking men.

Cheers.

El 02/03/15 a las 23:34, Matthew Schinkel escribió:
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.

Reply via email to