lib and button interaction #161
Unanswered
ghettobuilder2027
asked this question in
Q&A
Replies: 1 comment
-
I use four buttons to change volume and change radio stations maybe I need a more suitable way of handling button pressed. Any thoughts? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Here is my loop :
void loop()
{
btn1.loop();
btn2.loop();
btn3.loop();
btn4.loop();
audio.loop();
}
The button pressed are not working well, sometimes they do their job sometimes nothing happens.
I have used the same loop with a vs1503 without any issue
my library for buttons is button2.
Here is my complete source code :
https://github.com/ghettobuilder2027/radio_internet/blob/main/radio_internet_i2s.ino
What could I do to solve the problem?
Beta Was this translation helpful? Give feedback.
All reactions