Load Screen via I2C

GTT TFT Support

Moderator: Mods

Post Reply
Haz
LCD Geek
Posts: 38
Joined: Wed Jun 28, 2017 8:52 am

Load Screen via I2C

Post 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?

Thanks,
Haz

Daniel Divino
Matrix Orbital
Matrix Orbital
Posts: 247
Joined: Thu Sep 24, 2015 9:38 am

Re: Load Screen via I2C

Post 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.

"Project\Screen1\Screen1.bin"

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

Post Reply