Customised characters on LCD

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

Post Reply
ati3491
Posts: 3
Joined: Thu May 05, 2011 3:16 pm
Contact:

Customised characters on LCD

Post by ati3491 »

Hello everybody,
I'm trying do create a special character on a 2-line, 16-character LCD. I think I know, how it works
at the LCD side but failed so far, implementing it in Flowcode 4. I assume, it's the WRITE_RAM
macro in the LCD component macro, where the 1. parameter is the GCRAM address and the
others the "pixels" of the character. Is this assumption correct? And if so, how do I get this
character onto the display.
An other question is also, how to retrieve a character from CGRAM and display it on the panel?

Regards
ati3491

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Customised characters on LCD

Post by Benj »

Hello,

Have you seen this article on creating custom characters.
http://www.matrixmultimedia.com/mmforum ... =26&t=4796

ati3491
Posts: 3
Joined: Thu May 05, 2011 3:16 pm
Contact:

Re: Customised characters on LCD

Post by ati3491 »

Hi Ben,
thanks for the quick answer. Yes, I noticed it. But since it was posted already in Aug. 2008, I considered it as outdated. Is it really necessary to change the source code nowadays? Can it not be done by means of the LCD component macro?
Regards
ati3491

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Customised characters on LCD

Post by Benj »

Hello,

The Panel will not react to your custom characters, real world hardware should work fine.

The function is now included into the default LCD component but I sent you the link to the article so you could see how to use the function.

ati3491
Posts: 3
Joined: Thu May 05, 2011 3:16 pm
Contact:

Re: Customised characters on LCD

Post by ati3491 »

o.k. understood.
Thanks again.
ati3491

Post Reply