2023-07-25 01:48 AM
Hii,
In the TouchGFX Designer, I have taken a TextArea and have added a wildcard, given 000 as initial value and 3 as buffer size. In the Typographies, I have given wildcard range 0-9.
I am working with the STM32H745XIH6 Board. With the external peripherals like UART, ADC and TIMER I want to change the values in the TextArea according to the user input. How?
Solved! Go to Solution.
2023-08-23 09:43 PM
2023-07-27 06:34 AM - edited 2023-07-27 06:34 AM
Hello @Shivani,
I think that you need to collect the data from your peripherals in the Model, and then propagate them through the Presenter, to the View. You can take a look at this article that explains this MVP pattern pretty good.
Then, when you have access to the values in the View.cpp, you can do this to show them in your TextArea, using your wildcard :
Unicode::snprintf(TextArea1Buffer, TEXTAREA1_SIZE, "%d", yourdata);
TextArea1.invalidate();
Hope it helps :)
2023-07-30 11:56 PM
Thank you @Yoann KLEIN
2023-07-31 12:07 AM
Hii,
I have changed the values repeatedly in foreground through TextArea, while the image is tilting in the background.
But it is worked fine in Simulator, but I am getting some disturbance image while I am trying to display in the STM32F746G Discovery Board. I am unable to load the simulated image in the board when the foreground values are changing and the image is moving in the background simultaneously...
2023-08-02 07:18 AM
Hi,
Could you share some video or screenshots of the problem ?
2023-08-03 05:44 AM
2023-08-03 05:47 AM
These are the images which I got the disturbed screen in my STM32F746G Discovery Board...May I know why I am getting these type of issues?
After the background image is stop running, the foreground image is not getting disturbed.
2023-08-23 12:44 AM
Hello,
Which kind of Framebuffer strategy are you using ?
Single, Double or Partial ?
2023-08-23 09:43 PM
Hii,
I am using Single Framebuffer.