This should be pretty easily accomplished with a Double-pole, double-throw switch (DPDT) to control your trigger pin as well as the LED. That way you can keep both circuits somewhat separate while still using the same power supply for both your LED and the Qwiic MP3 Trigger. If you are not familiar with how a DPDT switch works, I would recommend taking a look at our Switch Basics
Unfortunately, we no longer carry a DPDT switch like the one shown in that tutorial and the only DPDT switch we carry is a surface-mount part
so that is probably not ideal for your project here. Luckily, these switches are fairly common so searching for either "Double-pole/Double-throw Switches" or just "DPDT Switch" will turn up some options for you.
Finally, unless the LED you intend to use has a built-in resistor like these
, make sure to add a current-limiting resistor in series with your LED and the power supply or else the LED will burn out. If you are just getting started working with LEDs, this tutorial
is a great place to start.
I hope this helps you get started with this project. If you have any follow-up questions about the Qwiic MP3 Trigger or other SparkFun products you want to use in this project, let us know and we would be happy to help as much as we can.