Simple text in I2C w/GLK12232-SM

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

Moderators: Henry, Mods

Post Reply
psylence
LCD?
Posts: 8
Joined: Tue May 06, 2003 11:59 pm
Location: Omaha, NE
Contact:

Simple text in I2C w/GLK12232-SM

Post by psylence »

Hey, I've gotten the I2C working seemingly fine on my GLK12232-25-SM, but I can't write simple text to it.

I can do all commands I can verify on the display visually (show a bitmap, clear the screen, change contrast/backlight etc...), but I can't write a string of text. Kinda weird.

I'm assuming it's just something stupid I'm doing, but all I do is a start signal, write the lcd address, then try to write "Hello World!" or whatever, and nothing happens.

Ideas? Do I need to be doing anything extra for non-command data?
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Can you convert the module back to RS232 and try uploading a new font to memory location 1...? Let me know if this is possible?
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
psylence
LCD?
Posts: 8
Joined: Tue May 06, 2003 11:59 pm
Location: Omaha, NE
Contact:

Post by psylence »

Yeah, I guess I could, that's no fun though! :)

I'll give that a shot sometime soon. I assume this would cause no text to be displayed if the font has been corrupted/otherwise borked? I did make sure to test all of that, all 3 fonts I have in it before doing the I2C conversion, but I guess it could've gotten messed up somehow.
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

You could send backligh on/off command to the LCD to see if you are talking to it, this way you bypass the font issue.
Henry J.
President
Matrix Orbital
psylence
LCD?
Posts: 8
Joined: Tue May 06, 2003 11:59 pm
Location: Omaha, NE
Contact:

Re: Simple text in I2C w/GLK12232-SM

Post by psylence »

psylence wrote: I can do all commands I can verify on the display visually (show a bitmap, clear the screen, change contrast/backlight etc...), but I can't write a string of text. Kinda weird.
:)
Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3014
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Re: Simple text in I2C w/GLK12232-SM

Post by Henry »

psylence wrote:
psylence wrote: I can do all commands I can verify on the display visually (show a bitmap, clear the screen, change contrast/backlight etc...), but I can't write a string of text. Kinda weird.
:)
<sigh> OK, I'm going home.
Henry J.
President
Matrix Orbital
psylence
LCD?
Posts: 8
Joined: Tue May 06, 2003 11:59 pm
Location: Omaha, NE
Contact:

Post by psylence »

:) Long day? Post says 7:00pm, slave-drivers up there in Canada I tell ya! :)
Miles
Matrix Orbital
Matrix Orbital
Posts: 1105
Joined: Mon Mar 04, 2002 4:00 pm

Post by Miles »

Because of how the display works, if you could test uploading a new font or bitmap for me in RS232, I'll be able to tell you exactly what is wrong. If my assumption is correct, you will not be able to... We can establish that you can communicate via I2C with the unit, so this is not the issue. What may be the issue is how the memory chip is handling the fonts, and unfortunately you cannot download fonts or bitmaps in I2C. Let me know how you make out!!
Miles Y.
Head of Technical Support
Product Manager
Matrix Orbital
Post Reply