Skip to main content
MA.21
Associate III
November 4, 2022
Question

how pass information from gui to hardware

  • November 4, 2022
  • 3 replies
  • 1092 views

..

This topic has been closed for replies.

3 replies

Romain DIELEMAN
ST Employee
November 4, 2022

Hi,

TouchGFX follows the Model-View-Presenter architecture. You can communicate between the hardware and the gui through the Model. I suggest to read this "Backend Communication" article on the online documentation which explains this process and how to communicate with the hardware.

I can also recommend this video from Gustavo on the ST youtube channel where Gustavo explains how to communicate between a button and the UI or how to turn on and off a LED through the UI with TouchGFX.

MA.21
MA.21Author
Associate III
November 4, 2022

thanks, one more things i want to know is that how i can receive 10 urat data ,

can i use a buffer to store these data and after display it . any other methods

more info:

actually i worked on a project with UI setup. use two stm32 borads, one for data reading(adc) and pass data over urat to second one (stm32+display_touch gfx), so i wanted to start the reading when i do something in touch gfx gui like button click, slider etc. after reading first one transfer data to second one and the informations are displayed in ui view like a table with column and rows.

MA.21
MA.21Author
Associate III
November 4, 2022

so if i recieve 10 data it will displayed in 10 different location