Page 1 of 1

Load Screen via I2C

Posted: Sun Jan 28, 2018 12:32 pm
by Haz
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, or if there is a document or an example already, can you point me in the right direction?


Re: Load Screen via I2C

Posted: Mon Jan 29, 2018 8:42 am
by Daniel Divino
Hi Haz,

Once you have deployed your project to your GTT via the GTT Designer Suite, you'll be able to use command 13.1 "Run Script File" to draw your screens on the GTT.

When using the Run Script File command, make sure to include the script file's path name and the null terminator in your string. If you don't know the path name to the screen script, you can check by connecting the GTT's SD card to your PC.

The screen scripts generated by the GTT Designer are .bin format files, and are usually stored in their screen folder. An example screen script path name can be found below.