Toggles

GTT TFT Support

Moderator: Mods

Post Reply
Soinclined
LCD?
Posts: 6
Joined: Thu Oct 26, 2017 12:08 pm

Toggles

Post by Soinclined »

I have set up four Rectangle Text Toggles with the GTT Designer, and I'm watching the serial line on RealTerm.

When I press a toggle, there's a serial output (252 135 0 2 0 x) where x is the toggle number 0-3, but when I press it again, there's no serial indication that it's back "up".

How do I add an indication that it's toggled back? If there's a drop down for this under Events, I'm not seeing it.
Engineering: It's like math, but louder!

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

Re: Toggles

Post by Daniel Divino »

Hi Soinclined,

In order for the GTT to report region "up" events, you will have to change the Touch reporting using command 11.4

If you change the GTT's touch reporting to mode 7, the GTT will report both "up" and "down" events.

Cheers,
Daniel
Daniel Divino
Technical Support
Matrix Orbital

Soinclined
LCD?
Posts: 6
Joined: Thu Oct 26, 2017 12:08 pm

Re: Toggles

Post by Soinclined »

That did it!

Thanks!
Engineering: It's like math, but louder!

Post Reply