cancel
Showing results for 
Search instead for 
Did you mean: 

how pass information from gui to hardware

MA.21
Associate III
 
3 REPLIES 3
Romain DIELEMAN
ST Employee

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
Associate III

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
Associate III

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