help with 'set box space mode'

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

Moderators: Henry, Mods

Post Reply
johno58
LCD?
Posts: 1
Joined: Fri Sep 21, 2007 5:02 am

help with 'set box space mode'

Post by johno58 »

Hi,

I'm using a GLK240128-25, PCB Rev1.0, interfaced to a PIC18F6722 via I2C. I'm also using the CCS C compiler and their built-in I2C primitives. This essentially works, I can display text, move the insertion point, and switch the backlight on and off.

What I cannot do is make the 'Set Box Space Mode' command work. I send the three appropriate bytes (0xFE, 0xAC, 0x01) and get no response. I'm expecting a black box the size of a character to appear at the insertion point, previously specified by the 'cursor position' command.

I must be missing something obvious! Any ideas?

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

Post by Raquel »

Hello john058,

Thanks for your post.

I am sorry but I think you may have misunderstood the function of the Set Box Space command. This does not put in a black box such as a cursor. The box is an invisible space drawn before the actual glyph to add in the char space as specified by font metric.

This functionality was implemented because the way we are drawing the glyphs (text) are quite different than how we used to do it. The units come with default box space enabled. With the box space enabled though, one can not truly reach the last pixel of the graphic display even when the glyph is small enough to fit in. This is why offer the option of disabling it.

I hope this helps. If you have any more questions, please let me know.

Thanks,
Raquel Malinis
Design and Development
Matrix Orbital
Post Reply