Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setVolume ranges? #60

Closed
johnwargo opened this issue Oct 27, 2019 · 1 comment
Closed

setVolume ranges? #60

johnwargo opened this issue Oct 27, 2019 · 1 comment

Comments

@johnwargo
Copy link
Contributor

For this library's void Adafruit_VS1053::setVolume(uint8_t left, uint8_t right) { method - what are the possible range of values? In the sample app you have:

 // Set volume for left, right channels. lower numbers == louder volume!
  musicPlayer.setVolume(10, 10);

but no mention of whether this is a small value (10) or big value.

I'm assuming 0-255, but I can't tell from looking at the sample or any comments in the source.

@ladyada
Copy link
Member

ladyada commented Oct 27, 2019

yes its 0-255

@ladyada ladyada closed this as completed Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants