2020-11-03 02:36 AM
Hello
Are the screen buttons visible in the main.c function? Do they need to be communicated in some way?
Best regerds
Andrzej
Solved! Go to Solution.
2020-11-18 03:05 AM
Handlers for Buttons in TouchGFX are usually activated through touch on a physical display. It sounds like what you need to do is call a function in your model from the view that has the button handler, to start the calculation somewhere in the backend.
/Martin
2020-11-18 01:22 AM
What do you mean by "screen buttons"? TouchGFX buttons? If so, no they're not visible from here and i'm not sure why you'd want them visible there. If you want to do something based on input from the rest of the system i you can create another task and send a message to the main gui-thread which can communicate with the buttons.
Please check out support.touchgfx.com to see if you can find information on interfacing with your backend. I did a webinar on it once.
/Martin
2020-11-18 02:24 AM
Yes TouchGFX buttons. The button from TouchGFX is supposed to start the calculation.
I will work and inform.
best regards
2020-11-18 03:05 AM
Handlers for Buttons in TouchGFX are usually activated through touch on a physical display. It sounds like what you need to do is call a function in your model from the view that has the button handler, to start the calculation somewhere in the backend.
/Martin
2020-11-18 03:54 AM
Hi.
I thought so. If I do it, I will write it.
Thank you.
best regards
Andrzej
2020-11-18 04:06 AM
Great, let me know!