AUDIOKIT : player.stop,play,previous,next : Am i able to use it without audiokit buttons? #1558
-
I try to use these functions touching buttons on my tft,but it doesn't respond and stop playing, with a little freeze-sound. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
I don't understand you: What do you mean with touching buttons on my tft ? |
Beta Was this translation helpful? Give feedback.
-
I don't use the audiokit buttons and their pins,all my controls come from a tft touch wired with SPI on the audiokit |
Beta Was this translation helpful? Give feedback.
-
So you just need to use some event handling functionality of a TFT library. |
Beta Was this translation helpful? Give feedback.
-
I can use my tft touch selecting a song and enter a choice like: |
Beta Was this translation helpful? Give feedback.
-
It could be a solution,or maybe an explication because if the "process action with buttons and pins" logic take care about |
Beta Was this translation helpful? Give feedback.
-
i made a mistake,i should write like (rubbish): if(button_next==true)) {pin(4)=HIGH} |
Beta Was this translation helpful? Give feedback.
-
There is a Debouncer in the AudioTools and there are also a couple of examples. |
Beta Was this translation helpful? Give feedback.
-
Ok,i will look into the library and google,thank you |
Beta Was this translation helpful? Give feedback.
So you just need to use some event handling functionality of a TFT library.
The AudioTools is an audio library and does not provide any TFT integration