Using GLCD Font Creator for ST7567 GLCD Controller

GLCD Font Creator software is the ultimate solution to create personalized fonts, symbols and icons for Graphic LCDs. It generates code compatible with All mikroElektronika compilers
Post Reply
Author
Message
mostafanfs
Posts: 3
Joined: 25 Dec 2016 08:16

Using GLCD Font Creator for ST7567 GLCD Controller

#1 Post by mostafanfs » 25 Dec 2016 08:51

I was wondering if it's possible to use GLCD Font Creator for ST7567 or ST7565 GLCD Controllers. Cause I tried once and it failed. It does creates fonts and arrays but I think the it uses the old KS0108 controller mechanism and that the characters are considered vertically NOT horizontally as it should be for ST7567.
Take this example :

Code: Select all

const unsigned short Tahoma10x11[] = {
        0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char  
        0x02, 0x00, 0x00, 0x7E, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char !
        0x03, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char "
        0x07, 0x40, 0x00, 0xC8, 0x01, 0x78, 0x00, 0xCE, 0x01, 0x78, 0x00, 0x4E, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char #
        0x05, 0x18, 0x01, 0x24, 0x01, 0xFF, 0x07, 0x24, 0x01, 0xC4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char $
}
What are the first bytes in each row?
How come the character "!" is build up with 0x7E, 0x01 and bunch of 0x00 ? This code

Code: Select all

0x02, 0x00, 0x00, 0x7E, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // Code for char !
looks like this picture
Image

NOT this picture
Image

Now I've never worked with KS0108 GLCD controllers so I'm not sure if this is right.
The bottom line is I want to use larger fonts in my code and couldn't find a perfect software up till now.

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: Using GLCD Font Creator for ST7567 GLCD Controller

#2 Post by danilo.milovic » 26 Dec 2016 14:47

Hi,

can you please tell me what compiler and what libraries are you using?

Regards,

Danilo

mostafanfs
Posts: 3
Joined: 25 Dec 2016 08:16

Re: Using GLCD Font Creator for ST7567 GLCD Controller

#3 Post by mostafanfs » 26 Dec 2016 15:50

danilo.milovic wrote:Hi,

can you please tell me what compiler and what libraries are you using?

Regards,

Danilo
Hi.
Yeah sure. I'm using IAR ARM compiler with LPC1768 chip and it's not a famous library. I mean it doesn't have a name but I got it from some Chinese guy. It uses a 1KB (128*64 / 8) memory called framebuffer cause this GLCD Controller uses one way SPI and you can not read from it so you have to have a copy of the GLCD content in opposite to KS0108 controllers in which you can read from GLCD.

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: Using GLCD Font Creator for ST7567 GLCD Controller

#4 Post by danilo.milovic » 26 Dec 2016 15:57

Hi,

GLCD Font Creator is certified for usage in our compilers, and since IAR ARM compiler is not our product I can't help you with your problem.

Regards,

Danilo

mostafanfs
Posts: 3
Joined: 25 Dec 2016 08:16

Re: Using GLCD Font Creator for ST7567 GLCD Controller

#5 Post by mostafanfs » 26 Dec 2016 21:11

danilo.milovic wrote:Hi,

GLCD Font Creator is certified for usage in our compilers, and since IAR ARM compiler is not our product I can't help you with your problem.

Regards,

Danilo
Well I use LPC1768 and I'm afraid this chip is not supported in your products. But I used microC AVR and it's been a long since I moved to the ARM controllers.
Actually it doesn't have anything to do with the compiler. It's ANSI C and since your software is free to use I see many people use it in their application no matter what the compiler is. Or maybe I'm wrong
Anyway you could at least mention what is the format of the output generated array? What is the first byte in every row and things like that. Maybe it was useful for someone else out there.
Thank you anyway.

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: Using GLCD Font Creator for ST7567 GLCD Controller

#6 Post by danilo.milovic » 27 Dec 2016 11:02

Hi,

We render the fonts according to the Microchip's Graphics Library, see this document :
http://ww1.microchip.com/downloads/en/A ... 01182c.pdf

Regards,

Danilo

Post Reply

Return to “GLCD Font Creator Software”