Displaying Data to TouchGFX UI using wildcards
- May 6, 2024
- 3 replies
- 1999 views
Hi Guys
I am a noobie and I am just starting out with TouchGFX. I have designed a 7 screen gui which cycles between screens (1-7 in that order which cylces indefinitely) and I have a text area which I want to populate with real-time data. This is only on screen 4 and 6 and I have defined the wildcards in the designer as follows:


I have generated the code using TouchGFX 4.23.2 and then I open the IOC file in CubeMX where I add ADC initialization as well as two tasks and two semaphores. One to update screen4 and one to update screen6, I then generate the code in MX and then click on "Open Project" to import it into CubeIDE.
I do not know where to take it from here. Essentially I want to read an ADC voltage (polling) in the two tasks I have created, then from there update screen4 and screen6 wildcards when the screen is loaded.
Here is my main.c:
I have tried to follow this video: https://www.youtube.com/watch?v=EbWOv_0Lp-U&t=241s, however when I adapt it to 7 screens and 2 semaphores and tasks, I upload the code to my STM32F429i-DISC1 and I just observe a white screen, however when I upload the code without having made any modifications in STMCubeIDE as seen in the video, I see the desired gui implemented with the exception of the real time data being displayed on screen 4 and 6.
Any help would be appreciated thanks.
