Skip to content

Conversation

FoamyGuy
Copy link
Contributor

peripherals.volume is updated to use a float value 0.0 to 1.0 instead of int value 1-20.

The 3 examples in this repo that make use of volume are updated to use new values.

The new safe volume limit is a little bit higher relative to the old one, was 12/20 is now 0.75.

I'm opening this PR as a draft to start because there are updates needed in Fruit Jam OS and a few of the apps / games that are included from the Learn repo. I'll submit PRs for those changes as well, and convert all of them out of draft once ready. I also have some tweaks to the default volume level that is set by TLV320 library that I will submit with these PRs.

@FoamyGuy FoamyGuy marked this pull request as draft September 16, 2025 21:37
@FoamyGuy
Copy link
Contributor Author

I think all of these volume API changes are in place now.

Ideally this should be merged at the same time as these PRs after review:
adafruit/Adafruit_Learning_System_Guides#3121
adafruit/Fruit-Jam-OS#71

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks!

@FoamyGuy FoamyGuy merged commit 19eb032 into adafruit:main Oct 1, 2025
1 check passed
adafruit-adabot pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 2, 2025
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

Successfully merging this pull request may close these issues.

2 participants