Home › Forums › Sparkfun MP3 Shield Library Support Forum › Adding an LED.. › Reply To: Adding an LED..
March 22, 2016 at 10:27 am
#3501
Michael P. Flaga
Member
I would recommend starting with the first code shown at
https://learn.adafruit.com/adafruit-microphone-amplifier-breakout/measuring-sound-levels
The 2nd code is the same but has extra code for a matrix display. But look at that to. As it should store it for time.
Also note that the 1053 and this library has a feature for measuring the transmitted power level at any time, called VUmeter.
setVUmeter’s enable. then occasionally poll the getVUlevel and use this to replace the analogread data. Scale the output of the getVUlevel and then send it to analogwrite.
There are set and get VU examples in both MP3Shield_Library_Demo.ino and FilePlayer.ino