Skip to main content
YJMoon
Associate III
Jan 15, 2019 1:43 AM UTC
Question

Using external hardware buttons

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.

This topic has been closed for replies.

6 replies

YJMoon
YJMoonAuthor
Associate III
Jan 15, 2019 4:02 AM UTC

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

So I'm studying now.

Martin KJELDSEN
Principal III
Jan 24, 2019 3:12 PM UTC

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

YJMoon
YJMoonAuthor
Associate III
Jan 25, 2019 12:02 AM UTC

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.