cancel
Showing results for 
Search instead for 
Did you mean: 

how should I switch the touchgfx screen from Screen1 to Screen2 without any interaction. The screen switching should be based on the data I am getting from the sensor.

lchac.1
Associate
 
1 REPLY 1
Osman SOYKURT
ST Employee

Hello lchac.1,

You can do that with actions and interactions as described in our tutorial 5.

After getting your data from your sensor, you need to call an action that will trigger an interaction.

0693W00000aIvYUQA0.png0693W00000aIvYtQAK.png 

Screen1ViewBase::myNewAction();   // to call in code after getting your sensor data

We provide in TouchGFX Designer an example of how to use Custom Trigger Action, I also invite you to have a look at it.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX