Search found 38 matches
- Wed Sep 12, 2018 8:19 am
- Forum: GTT Series
- Topic: I2C Read with GTT43
- Replies: 24
- Views: 29381
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\\...
- Tue Sep 11, 2018 5:34 pm
- Forum: GTT Series
- Topic: I2C Read with GTT43
- Replies: 24
- Views: 29381
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...
- Tue Sep 11, 2018 5:16 pm
- Forum: GTT Series
- Topic: Change Button Image
- Replies: 5
- Views: 11418
Re: Change Button Image
Perfect. Found them. That's exactly what i was looking for.
- Tue Sep 11, 2018 4:12 pm
- Forum: GTT Series
- Topic: I2C Read with GTT43
- Replies: 24
- Views: 29381
Re: I2C Read with GTT43
Also, do I need to call the gtt_set_default_channel(>t1, 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.
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.
- Tue Sep 11, 2018 3:55 pm
- Forum: GTT Series
- Topic: Button Controls
- Replies: 2
- Views: 9820
Re: Button Controls
I am using protocol 2.12 as sent by the LCd I am using
- Tue Sep 11, 2018 3:53 pm
- Forum: GTT Series
- Topic: I2C Read with GTT43
- Replies: 24
- Views: 29381
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...
- Tue Sep 11, 2018 3:38 pm
- Forum: GTT Designer
- Topic: Error Deploying
- Replies: 5
- Views: 11547
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-
Thanks,
H-
- Tue Sep 11, 2018 3:33 pm
- Forum: GTT Series
- Topic: Change Button Image
- Replies: 5
- Views: 11418
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-
If I need a path, what is it relative to?
Thank you,
H-
- Tue Sep 11, 2018 3:28 pm
- Forum: GTT Series
- Topic: Change Button Image
- Replies: 5
- Views: 11418
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...
- Tue Sep 11, 2018 8:58 am
- Forum: GTT Series
- Topic: I2C Read with GTT43
- Replies: 24
- Views: 29381
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&q...
- Tue Sep 11, 2018 8:18 am
- Forum: GTT Designer
- Topic: Error Deploying
- Replies: 5
- Views: 11547
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...
- Tue Sep 11, 2018 7:31 am
- Forum: GTT Series
- Topic: Change Button Image
- Replies: 5
- Views: 11418
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?
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?
- Tue Sep 11, 2018 7:30 am
- Forum: GTT Series
- Topic: Button Controls
- Replies: 2
- Views: 9820
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...
- Sun Jan 28, 2018 12:32 pm
- Forum: GTT Series
- Topic: Load Screen via I2C
- Replies: 1
- Views: 10080
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,...
- Sun Jan 28, 2018 12:29 pm
- Forum: GTT Series
- Topic: Display Artifcats
- Replies: 4
- Views: 13219
Re: Display Artifcats
I just upgraded the FW to the latest, and the artifacts disappeared.
Solved!
Solved!