cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-DISCO, GFX, STM32CubeIDE

ADębs.1
Senior

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

14 REPLIES 14

Are you sure the if(!min_current && !sec_current) condition is ever met ? The application().gotoScreenSetScreenNoTransition() function works.

/Romain

I checked the function works when there is no condition. In Live Expressions, sec_current and min_current change. I have yet to analyze.

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

Good to hear it works now :thumbs_up:

/Romain

What is the difference between the Click, Touch, Toggle buttons?

Andrzej