Issue 150

 Reported by sebastien.lelong, Feb 21, 2011

There are currently at least 3 GLCD libraries, but each is using its own 
way to deal with fonts & pixel-based drawings, and API isn't normalized.

TODO (unordered):

- font libs must be named the same (glcd_font_WxH or glcd_font_HxW)
- glcd_nokia_3310 needs lcd_write_pixel() implementation
- check memory/stack usage during refactoring


#2 sebastien.lelong

There are two main ways to use GLCD:
  - char-based stuff
  - pixel-based stuff

I suggest every char-based proc/func go to glcd_font.jal. All pixel-based 
proc/func could remain in glcd_common.jal (maybe renamed).

Ex: lcd_set_cursor(row,col) is char-based, because args correspond to 
row/col in a grid defined by font width * height. It's not named 
appropriately. And maybe it could go to glcd_font.jal

Ex2: in nokia 3310 lib, there's a lcd_gotoxy(x,y). This time pixel based. 
Maybe this procedure could be part of standard API, meaning every GLCD lib 
should implement it. 



#3 mkerna

I'd like to get this fixed too.  The jallib-pack-bee download doesn't even 
have the nokia library.  How are people using the Nokia with JAL?  The libs 
I'm using aren't in the jallib pack.


On Tuesday, March 3, 2015 at 9:13:15 AM UTC-5, Pavel Milanes Costa wrote:
>
> Hi Rob, 
>
> Please enlighten me about this issues, 
>
> Can you send me full details of it? 
>
> I do not have internet until friday and code.google.com is not 
> accessible to me from Cuba (some stupid cuba-usa embargo issue) 
>
> Regards. 
>
> El 03/03/15 a las 05:30, Rob Hamerling escribió: 
> > 
> > Hi Pavel, Matt, 
> > 
> > On 03/03/2015 06:34 AM, Pavel Milanes Costa wrote: 
> >> 
> >> 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... 
> >> 
> > 
> > Now that there is renewed attention for the GLCD libraries may I remind 
> > you that there is an open issue #150!? It might be a good idea to 
> > combine the work (maybe also for issue #117). 
> > 
> > Regards, Rob. 
> > 
> > 
>

-- 
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