add click callback interaction to touchgfx button
STM32 Firmware

Adding a C callback to ToughGFX Events

Adding a C callback within TouchGFX is easy. In this example, we go through the process of calling a C function when a button is pressed.