cancel
Showing results for 
Search instead for 
Did you mean: 

Using external hardware buttons

YJMoon
Associate III

I am wondering if there are any examples or plans to add functionality to the external buttons in TouchGFX Desiger.

In the beginning of last week I succeeded in touch control by applying my GUI to the 746dico board.

And now I am connecting the external interrupter and checking the operation.

When I change the GUI through the TouchGFX designer, the external interrupt code disappears.

So I wonder if there are other methods or examples.

I would like to thank you for using a good program. Thanks to that, I have a new and excellent way to do what I do.

6 REPLIES 6
YJMoon
Associate III

I found some video from YouTube(TouchGFX, STMicroelectronics channel).

So I'm studying now.

Martin KJELDSEN
Chief III

Hi,

Where are you adding your interrupt code? It shouldn't get overridden (only the generated/gui_generated folder). The designer does not directly know how to setup your external interrupts for a particular board. Also, i don't think there are any plans to create "direct" mapping to the buttons that are on a particular board. e.g. USER and RESET for STM32F469-DISCO.

Best regards,

Martin

Sorry my explanation was not enough.

I had to code interrupts in model.cpp.

So I expressed it as direct.

Now i'm creating separate cpp and hpp and run them in other tasks.

And how are things working out for you now?

Yes. The project works as well as I want. Thanks!

That's good to hear!