Control of uMP3 Volume
Guido
Posts: 195
Trying to control the volume of the Rogue uMP3 Player with the Stamp without much or should we say any success. I am sure that I have something wrong in the code. Any help would be appreciated.
VOLFULL:································ 'Reset the volume to "full"
· SEROUT TX,BAUD,[noparse][[/noparse]"PC ST V ",120,CR]
· PAUSE 500
· RETURN
VOLLOW:································· 'Reset the volume to "LOW"
· SEROUT TX,BAUD,[noparse][[/noparse]"PC ST V ",254,CR]
· PAUSE 500
· RETURN
Thank You
Guido
VOLFULL:································ 'Reset the volume to "full"
· SEROUT TX,BAUD,[noparse][[/noparse]"PC ST V ",120,CR]
· PAUSE 500
· RETURN
VOLLOW:································· 'Reset the volume to "LOW"
· SEROUT TX,BAUD,[noparse][[/noparse]"PC ST V ",254,CR]
· PAUSE 500
· RETURN
Thank You
Guido
Comments
I believe the uMP3 wants the value in ASCII text, which would mean you’d use a command like the one below. Take care.
But if you wanted to use a variable you could use:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I had luck using this routine on a BSIIp to fade out the music from a uMP3 in a device I built:
The above assumes the uMP3 is already playing music. [noparse]:)[/noparse]
Also, remember that ZERO is the LOUDEST setting.. sorta counter-intuitive, but once u have it coded its a non-issue [noparse]:)[/noparse]
Vern
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔