Arduino UnoR3 with DFPlayerMini (with lib from https://github.com/PowerBroker2/DFPlayerMini_Fast) increases volume from initial to max in steps of three or four. Is this caused by any previous .volumeAdjustSet() or some fancy fade in on certain modules I read about? If so, how to reset that?
You format is requesting an int (2 bytes on Uno) but the function lowByte() is supplying a byte (1 byte). Just print the value directly without sprintf()
Works just fine for me with an Uno R3 and real DFplayerMini (not a clone) with 1.2K/2.2K level converter between Uno pin 11 and DFplayer Rx pin. 4 mp3 files in MP3 folder, 4th file plays, volume stays at 5.
@ Railroader: lib function does just what the module manual says. The problem is not the initial volume but the auto increase. @blh64: sure could, but with a return range of 0 to 30 it's zero for the MSB always. Anyway, it's beside the point. @van_der_decken: "level converters" ?? are in, as the UART is TTL anyway, this is just to eliminate some warble. And what's your experience with clones, as I don't have a "real" module, it seems.
Another unsolicited "bad code" cry from the c-crowd. If I need a byte and get a byte I use a byte and have done so for more than 50 yrs programming. So, still not helpful (see #7). Case closed.