Skip to main content
Associate III
August 8, 2025
Question

How to select the icon of LCD from external switch of stm32L431 GPIO

  • August 8, 2025
  • 1 reply
  • 221 views

i build a LCD display board with stm32L431 and 320*240 LCD  and use touchGFX to develop UI, now i need control and select icon of LCD from external GPIO of STM32L431 , so, how to configure the touchGFX and concerned file ? anybody have similar program to refer ? 

1 reply

ST Employee
August 18, 2025

Hello,

 

You can take inspiration from one of the board specific demos provided with TouchGFX designer. The ones that are outlined in my screenshot should have some state changed by a GPIO, either by sampling the GPIO, or through an external interrupt.