Inverse video on GLK12232-25

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
JacquesB
LCD!
Posts: 12
Joined: Tue Oct 31, 2006 9:51 am

Inverse video on GLK12232-25

Post by JacquesB »

Hi,
I'm building an aplication with the GLK12232-25 graphics display.

Is there a way ( command) to inverse video the caracters on the screen ?
I used to have a command that did that on a competitor display.

Also on a previous thread regarding erasing the startup screen, the author mentionned about command 254 45 5 1. In the manual (GLK12232-25-SM_140.pdf) the command 45 is related to clearing the keyboard buffer !
Am I missing something ?
Are there hidden command that I can use ?

thanks

Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Hello Jacques,

Thank you for posting on the forum.

Unfortunately, there is no command to invert the characters on the screen (but we offer drawing lines and rectangles in black or white). You will have to invert the data yourself. Sorry for the inconvenience.

As per erasing a bitmap file on the module, you are right, I do not see this command in the manual; but I do see command 173, Erase File. This command should have been command 45.

Please excuse us on this matter; I will get our technical writer to update the manual. Although, to clarify command 45d (2Dh) is not the Clear KeyBuffer command, which is command 45h / 69d.

Best Regards
Raquel Malinis
Design and Development
Matrix Orbital

Jeroen Vonk
LCD Guru
Posts: 55
Joined: Tue Apr 12, 2005 2:31 am

Re: Inverse video on GLK12232-25

Post by Jeroen Vonk »

JacquesB wrote:Hi,
Is there a way ( command) to inverse video the caracters on the screen ?
I used to have a command that did that on a competitor display.
Although the display itself does not support inverse characters, it's pretty easy to do it yoursef. Simply draw a solid reactangle at the full display size of your module instead of using ClearScreen. (so the screen is completely black) Then use a font which is completely inverted. As an example you can use this font: Lucidia Inverted 10x15

The font looks like this:

Image

(dont worry, the white lines between the characters are not visible on the display itself)

Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Thanks, Jeroen.
Raquel Malinis
Design and Development
Matrix Orbital

JacquesB
LCD!
Posts: 12
Joined: Tue Oct 31, 2006 9:51 am

Re: Inverse video on GLK12232-25

Post by JacquesB »

[quote="Jeroen Vonk"][quote="JacquesB"]Hi,
... Simply draw a solid reactangle at the full display size of your module instead of using ClearScreen. (so the screen is completely black) Then use a font which is completely inverted. As an example you can use this font: ...[/quote]

Thanks

Post Reply