Search found 28 matches

by Haz
Sun Sep 23, 2018 3:44 pm
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

Daniel, Just wanted to follow-up and see if you have made any progress. This is in my critical path for the project and I need to get it resolved, or at least a root cause so i can work around the specific case, and now jeopardize project functionality. It keeps locking up my whole project randomly,...
by Haz
Mon Sep 17, 2018 1:53 pm
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

That's great that you were able to reproduce it.
Let me know how this progresses and i will duplicate any fix on my end.

Thanks,
H-
by Haz
Fri Sep 14, 2018 10:24 am
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

Thank you Daniel, The get backlight is returning the right command, and the value expected. I do however need to send the set communication command after every screen, otherwise, my new loaded screen is not sending any of the button presses. If i add the command, then i start seeing the data coming....
by Haz
Thu Sep 13, 2018 1:01 pm
Forum: GTT Designer
Topic: Error Deploying
Replies: 5
Views: 118

Re: Error Deploying

I just went through my project and found where the font was blank.

Thanks for the help.
H-
by Haz
Wed Sep 12, 2018 8:48 am
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

Some more debugging: The code works completely if i add a 1 second delay after every screen load. And I have to call the gtt_set_default_channel(>t1, eChannel_I2C); after every screen load. Even if it is setup in GTT designer, I will probably have to add this to the Post load of each screen in GTT...
by Haz
Wed Sep 12, 2018 8:19 am
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

ok, so I implemented the code: /* Synchronize with the LCD */ uint8_t backlight = gtt_get_backlight(>t1); Log_MessageVariadic(info, "Backlight = %d\r\n", backlight); /* Setup the first screen */ gtt_run_script(>t1, "MustangElectronicDisplay_SystemManagement\\Screen_Login\\Screen_Login.bin"); uiP...
by Haz
Tue Sep 11, 2018 5:34 pm
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

ok, I made the changes, and now I am able to synchronize as you mentioned. I will be using the get_backlight command to synchronize every time I load a new screen. Is there any downside to this? or a better way of doing it? I am also running a poll for the gtt_parser_process, is there a minimum time...
by Haz
Tue Sep 11, 2018 5:16 pm
Forum: GTT Series
Topic: Change Button Image
Replies: 5
Views: 97

Re: Change Button Image

Perfect. Found them. That's exactly what i was looking for.
by Haz
Tue Sep 11, 2018 4:12 pm
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

Also, do I need to call the gtt_set_default_channel(&gtt1, eChannel_I2C); every time I load a screen or is it global?
It seems that if i don't, when a new screen is loaded, it does not sent anything on the bus, so no events trigger.
by Haz
Tue Sep 11, 2018 3:55 pm
Forum: GTT Series
Topic: Button Controls
Replies: 2
Views: 64

Re: Button Controls

I am using protocol 2.12 as sent by the LCd I am using
by Haz
Tue Sep 11, 2018 3:53 pm
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

Daniel, I implemented the post-load script as you mentioned, and i already had the communication set to none. I am using I2C, so i have to initiate the communication with the LCD to get the data, even to get the backlighting. But if i ping the LCD before it is ready, I am getting a lock up. So i hav...
by Haz
Tue Sep 11, 2018 3:38 pm
Forum: GTT Designer
Topic: Error Deploying
Replies: 5
Views: 118

Re: Error Deploying

I was able to fix the first one as you stated. I will send my project to the email provided for any help you can give me on the second one.

Thanks,
H-
by Haz
Tue Sep 11, 2018 3:33 pm
Forum: GTT Series
Topic: Change Button Image
Replies: 5
Views: 97

Re: Change Button Image

Also, one more clarification. Do i only need the name of the bitmap? Or do i need a path?
If I need a path, what is it relative to?

Thank you,
H-
by Haz
Tue Sep 11, 2018 3:28 pm
Forum: GTT Series
Topic: Change Button Image
Replies: 5
Views: 97

Re: Change Button Image

Thank you Daniel, For the bitmap ID, I have some bitmaps which are loaded as they are all part of objects already, so i am assuming they get loaded when the screen script runs. How can i get the bitmap ID? I am able to get all the object IDs, so i know there is no overlap. Those are generated in the...
by Haz
Tue Sep 11, 2018 8:58 am
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 856

Re: I2C Read with GTT43

I am working with IoTexpert, and have an additional comment now that the code is implemented with the rest of the hardware. This is my startup code: Log_Message(info, "Flushing the init buffer\r\n"); while(!gtt_parser_process(>t1)){}; Log_Message(info, "Init buffer Flushed\r\n"); /* Setup the firs...