i am trying to get a button to work with the dfplayer adapter but i don't know how to. i have tried putting voltage and ground to button and that to 5v and gnd but that does not work i want it to play a sound when i push the button and stop when i let go. anyone know how too?
This is how to wire up an input
You will see you have two choices one where a pus returns a HIGH and one where it returns a LOW. Use the latter but you might have to change your software to see the push correctly.
Have you read this: DFPlayer_Mini_SKU_DFR0299-DFRobot ?
You should be able to start and stop the audio easily using the standard library calls.