Search found 13 matches

by tvoglund
Wed Mar 05, 2014 11:36 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Martino, Thank you for all the help. I have one more question, I have Touch Report Style 2, and Input feed back of 9 set. Therefore, for each touch region I get a beep and a byte of the region code that was pushed. I checked the Out of Region setting and it is 0. I have one bug I'm trying to fix, an...
by tvoglund
Wed Feb 05, 2014 1:11 am
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Thank you for the code supplied. I believe it is not for the GTT LCD because some of the commands are different. But it pointed me in the right direction. I Set the Communication Channel to I2C in the autoexec.bin file and now all my touch regions are working as expected. Now I have one bug left. Wh...
by tvoglund
Fri Jan 31, 2014 7:56 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Martino, Now I am trying to read the response of a touch. I am doing the same thing as when I read response of a command. Unfortunately, I am getting no responses. Nothing., just 0x00 0xff 0xff 0xff 0xff ...... To configure my touch region I do the following: 1. Set Touch reporting style 2. Set Inpu...
by tvoglund
Fri Jan 31, 2014 7:49 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Ok, sorry this is late. I am writing my commands from a pic controller using C. My problem was how i was reading the responses. I was not reading the buffer correctly. here is what works... //below tells lcd that I am done reading bye SSP2CON2bits.ACKDT = 0; SSP2CON2bits.ACKEN = 1; if(I2CWaitComplet...
by tvoglund
Thu Dec 19, 2013 3:56 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Martino, Yes this is for a my new GTT display. I have a PIC controller that I am programming using C. I had all the code working for a GLK display and we decided to go with the GTT. In converting the code, reading from data buffer is where I am hung up and not receiving what I expect. Any info would...
by tvoglund
Wed Dec 18, 2013 10:31 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

Re: I2C GLT to GTT

Martino, I am able to write to the data buffer at addess 0x50. Then when i try to read from 0x51, I am unsuccessful. I am a little stumped. I write to 0x50 the following 0xFE 0x7A Next I read from data buffer doing the following: 0x51 (read 1 byte) (read 1 byte) (read 1 byte) etc... The response is ...
by tvoglund
Tue Dec 10, 2013 11:12 pm
Forum: GTT Series
Topic: I2C GLT to GTT
Replies: 15
Views: 13898

I2C GLT to GTT

I have C code written for my GLT model LCD. Now I have a new GTT and trying to convert code to get it to work. I can clear screen but anytime I try any other commands it does not work. For draw line we have to use a signed short for the coordinates, but after that change draw line still did not work...
by tvoglund
Mon Oct 07, 2013 3:02 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

I am trying to read from Display and not having any success. My read address is 80 and write is 81. when I do following command sequence it locks up of I try to use 81. I am using touchpad mode.

[start][read address][A][READ DATA][NA][stop]


Any help would be great.

Truby
by tvoglund
Thu Sep 26, 2013 11:24 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

Martino, In your manual you have a command to Initialize Label. You need to pass into this, Font and CharSpace. These are a byte each. For Font is there any Fonts build in? Or what is the default value for this. For CharSpace, what is it looking for, I know byte, but is there a default value? Or ple...
by tvoglund
Thu Sep 19, 2013 5:37 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

Seems like most forum articles I read, the address of the slave is always the issue. I am still unable to get the LCD to do anything, I am simply trying to clear the default Matrix Orbital landing page. In the manual it states, "The display will now be in I²C mode and have a default slave addre...
by tvoglund
Mon Sep 16, 2013 7:30 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

Thank you for your reply. I already have the I2c Jumpers set on the board. Is there any code errors in the logic above. I do not wait for Ack, should I after each command, my 254, then 88 should I wait for the Ack? Please look over code and see if you can see anything incorrect.
by tvoglund
Sun Sep 15, 2013 11:38 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

Below is the code I have written to simply clear the display so the Matrix Orbital screen disappears when I power up. I am unable to communicate withe the LCD. Please give me any feed back of the code. It is in C. Currently, nothing happens when this code is compiled and loaded onto my pic. U08 I2CC...
by tvoglund
Tue Sep 10, 2013 4:32 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: I2C Developers Information.
Replies: 14
Views: 46159

Re: I2C Developers Information.

I am new to programming I2C and the Orbital Matrix Display. I have the GLT240128-422-FGW Display and plan on writing to it using I2C protocall using C. I clicked on the link to the code above but found nothing. Can you please resend the link to the code?

Thanks for every ones help.