Search found 38 matches

by Haz
Wed Sep 12, 2018 8:19 am
Forum: GTT Series
Topic: I2C Read with GTT43
Replies: 24
Views: 10633

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: 10633

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: 4453

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: 10633

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: 3683

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: 10633

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: 4642

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: 4453

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: 4453

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: 10633

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...
by Haz
Tue Sep 11, 2018 8:18 am
Forum: GTT Designer
Topic: Error Deploying
Replies: 5
Views: 4642

Error Deploying

I am trying to deploy, and have a custom font, but the software keeps throwing an error for the standard font. How can i resolve this? The messages get up in order as I have shown here. Capture.PNG Capture1.PNG When the deployment is done, I see the log, and shows that the 2 steps where this hangs s...
by Haz
Tue Sep 11, 2018 7:31 am
Forum: GTT Series
Topic: Change Button Image
Replies: 5
Views: 4453

Change Button Image

What is the command i need to change the button image?

Can you tell me what to send to the screen? I have all the assets in the auto generated directory, so how do i point to one to load as the background?
by Haz
Tue Sep 11, 2018 7:30 am
Forum: GTT Series
Topic: Button Controls
Replies: 2
Views: 3683

Button Controls

I have an Image_Toggle (GTT2.5) object on my screen, and it has states like Toggled, Enabled and Selected. The enum shows /*! enum eButtonState */ typedef enum eButtonState { eButtonState_Up = 0, /*!< Up */ eButtonState_Down = 1, /*!< Down */ eButtonState_Disabled = 2, /*!< Disabled */ } eButtonStat...
by Haz
Sun Jan 28, 2018 12:32 pm
Forum: GTT Series
Topic: Load Screen via I2C
Replies: 1
Views: 4280

Load Screen via I2C

I am not sure if I am missing it in the documentation, but what is the best way to load different screens via I2C. I have a few screens designed and loaded on the screen, and the MCU is the host which controls which screen gets loaded when certain conditions are met. What is the best way to do that,...
by Haz
Sun Jan 28, 2018 12:29 pm
Forum: GTT Series
Topic: Display Artifcats
Replies: 4
Views: 6279

Re: Display Artifcats

I just upgraded the FW to the latest, and the artifacts disappeared.
Solved!