STM32F746G-DISCO, GFX, STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-28 10:32 AM
Hi
I have a counter in main.c. I have two screens A and B. The meter reading is sent to screen B and displayed. When the counter reaches 0 I want screen B to switch to A. How to set it up in GFX? greetings
Andrzej
Solved! Go to Solution.
- Labels:
-
STM32F7 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-05 06:00 AM
Are you sure the if(!min_current && !sec_current) condition is ever met ? The application().gotoScreenSetScreenNoTransition() function works.
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-05 06:48 AM
I checked the function works when there is no condition. In Live Expressions, sec_current and min_current change. I have yet to analyze.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-06 10:44 AM
Thank you for your help.
sec_current and min_current are in BCD so they were never 0.
I did this by sending a screen change request from main.c. It works.
I used:
application (). gotoScreenSetScreenNoTransition ();
Andrzej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-07 01:27 AM
Good to hear it works now :thumbs_up:
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-05-07 04:40 AM
What is the difference between the Click, Touch, Toggle buttons?
Andrzej

- « Previous
-
- 1
- 2
- Next »