How do you handle button presses in a timely manner? #1510
-
Hi, and sorry in advance if this is not the right place. I'm asking here because I'll get answers related to my specific use case, related to audio-tools :) So, I use this button library to handle simple buttons connected to a pi pico : https://github.com/LennartHennigs/Button2 I tried using interrupts, but it does not feel right and I'm not even sure it would fix my issue. I thought about reducing the audio buffer, but which buffer do I need to decrease? Will it affect audio quality? I'm playing mp3 files from an SD card to adafruit I2s mono amp. The project will soon be posted in github and will be open source including hardware. If you need the code to help me, let me know, I'll put the project online. Thank you everyone in advance and thank you Phil for the great lib! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
A couple of infos:
|
Beta Was this translation helpful? Give feedback.
A couple of infos: