Skip to main content
heyo
Associate III
August 24, 2023
Question

Beep only on clicked button

  • August 24, 2023
  • 1 reply
  • 855 views

Hello,

I have buzzer on my custom PCB and I want to do that it beeps every time when button is clicked(but only button). Do I need to add buzzer function on every button interaction or maybe there is easier way.? Maybe someone knows how to achieve this?

This topic has been closed for replies.

1 reply

August 24, 2023

Hi,

You can create a custom interaction in TouchGFX that triggers a function in your code every time a button is clicked. This function would then activate the buzzer on your PCB. This way, you wouldn't need to add the buzzer function to every button interaction manually.

Regards