Skip to main content
Eblec.1
Associate III
June 3, 2021
Question

hello. I have a demand for application that will get input from keyboard and a master cpu and will change the displayed icons accordingly.

  • June 3, 2021
  • 6 replies
  • 1012 views

hello. I have a demand for application that will get input from keyboard and a master cpu and will change the displayed icons accordingly. icons like battery power or progress bar will be changed according to master cpu input and icons status like bolding the icon or unbolding it will be changed according to the keyboard input.

I'm looking for a proper example for this. do you know about such ? thanks.

This topic has been closed for replies.

6 replies

Romain DIELEMAN
ST Employee
June 3, 2021

Hi,

There are no example that specific that I am aware of but you can have a look at this video made by Gustavo from ST and the Backend Communication article and its different examples to understand how to interact between the hardware and the GUI.

/Romain

Eblec.1
Eblec.1Author
Associate III
June 3, 2021

thanks.

Eblec.1
Eblec.1Author
Associate III
June 3, 2021

hello. in the explanation there is write temperature method which is not implemented. where can I find such example ? thanks.

Romain DIELEMAN
ST Employee
June 3, 2021

which one are you talking about ?

Eblec.1
Eblec.1Author
Associate III
June 3, 2021

from : https://support.touchgfx.com/docs/development/ui-development/touchgfx-engine-features/backend-communication :

under : Propagating Data to UI :

"must of course implement the setTemp method"

I try to find a similar method in example.

thanks.

Eblec.1
Eblec.1Author
Associate III
June 8, 2021

hello. I took the example : progress indicator example, to take from it the progress indicator specifics and insert it to my custom project.

I compare the code and it looks the same but in the progress indicator example the MainView::handleTickEvent is called and in my project it is not called.

I tried to debug both to see the difference but I failed. what can be the difference ? how can I make it ?

please help. thanks.