Skip to main content
Associate II
July 2, 2024
Question

User interface button

  • July 2, 2024
  • 0 replies
  • 788 views

Hello ST community,

I am developing a user interface with touchGFX in STM32F769i-Disco and i have multiple screens,
one the screens it contains button and when a button is pressed i execute a command such a control a led

The issue when i switch another screen and return to the screen which contain the buttons, the buttons return to their initial state I am talking just for user interface. Although the command still active when i switched the screen led still on but the button on the screen show off.

The question is : How to save the state of a button when i switched the screens.

Thanks for help.