Home Forums Sparkfun MP3 Shield Library Support Forum setVolume command Reply To: setVolume command


Please refer to Volume Library it will explain the volume.

Most coding knows what the value sent are so they don’t need to read it. Where below is likely the simplest way to read it and print it.

twobyte mp3_vol;
mp3_vol.word = MP3player.getVolume();
Serial.print(F("Right Volume = "));
Serial.print(F("Left Volume = "));

Note that the union for twobyte is already defined in the library.