Thank you, Mr. Flaga.. I’m still a little confused about the difference between “getVUlevel” and “getVUmeter” and how to properly implement them in this code.. shouldn’t something like this work?
void loop() {
MP3player.playTrack(random(5)); // range of tracks to randomly play.
while (MP3player.isPlaying());
{
MP3player.setVUmeter(1);
Serial.println(MP3player.getVUmeter());
}
MP3player.stopTrack();// stop track
}