cancel
Showing results for 
Search instead for 
Did you mean: 

Beep only on clicked button

heyo
Senior

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?

1 REPLY 1
ramprakash09
Associate II

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