Skip to main content
YJMoon
Associate III
January 15, 2019
Question

Using external hardware buttons

  • January 15, 2019
  • 6 replies
  • 1161 views

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
January 15, 2019

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

So I'm studying now.

Martin KJELDSEN
Principal III
January 24, 2019

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
January 25, 2019

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.