-
Notifications
You must be signed in to change notification settings - Fork 4
Upgraded library to support most features of WM8960 I2C protocol #2
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
Merged
Merged
Changes from 19 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
59aacb4
Converted Arduino library from https://github.com/sparkfun/SparkFun_W…
relic-se cfd27d9
Updated copyright in documentation and minor changes.
relic-se 89036d3
Transferred and converted examples from Arduino library.
relic-se e6b343b
Reset device on initialization and copy default registers to local va…
relic-se 7f54800
Fix bug in `_writeRegisterMultiBits`.
relic-se 215deec
Use single integer for value of PLLK rather than separate nibbles.
relic-se 4276430
Add methods to enable/disable both channels of DAC and ADC.
relic-se 6892379
Updated simpletest example to use new library.
relic-se 71c1a07
Ported over more complex example, eighties_dystopia, by @todbot / Tod…
relic-se 90a9745
Enable VREF and VMID on initialization by default.
relic-se 40bb1ee
Paired stereo functions added.
relic-se a368bda
Configuration utilities for I2S, DAC, headphones, and speakers.
relic-se 5fb70c5
Separate sample rate calculation from configuration method.
relic-se 4a22db3
Additional stereo pair methods.
relic-se 23d81ee
Updated examples to use stereo pair methods.
relic-se 248daed
Updated stereo pairing output mixer method names to better represent …
relic-se d333550
Fix typo in INPUT2 example.
relic-se bb23918
Basic error checking and boolean response.
relic-se ca54148
Updated documentation with new examples.
relic-se 381f022
Removed unimplemented `adafruit_wm8960.WM8960.isConnected`
relic-se e8ea476
Fixed pyproject.toml Homepage url.
relic-se 473b67f
Updated library constants to use const() and naming conventions (http…
relic-se ef9d64f
Revert code of conduct to original version.
relic-se e30892e
API updated to use property-driven standards.
relic-se a559078
Basic examples updated to use new API.
relic-se 2fa811e
Determine register default value automatically during initial reset.
relic-se 5eabc95
Rename WMBit(s) to WOBit(s).
relic-se eba04c9
Rename "pga" to "mic"
relic-se 8727e62
Removed property verbs such as "Enabled".
relic-se bade897
Default settings to decibel and time values and obfuscate direct regi…
relic-se ceee3b7
Converted attribute names from camel case to snake case.
relic-se 3874f23
Move left/right to prepend attribute name.
relic-se 933e7f7
Make min/max constants that are relevant to attribute values public.
relic-se 703a267
Rename `word_length` to `bit_depth`
relic-se 2de9580
Updated simpletest to utilize new attribute naming scheme.
relic-se 79c3596
Use decibel values instead of gain step constants for mic and speaker…
relic-se ed2b134
Add stereo function to set mic inverting input.
relic-se 8480a43
Remove "boost" from mic output attributes.
relic-se 3b085c8
Use monotonic value for 3D enhance depth.
relic-se 722dec4
Fix minor typing issues.
relic-se b4d42b5
Remove unnecessary examples and reorganize into meaningful examples..
relic-se dcd09f2
Added related product links.
relic-se 062655c
Updated usage example.
relic-se 8811ae1
Updated formatting using black.
relic-se 776e3bc
Local register list reset bug fix.
relic-se bc58f1a
Ensure that registers contain address index in bytearray before and a…
relic-se 5da5380
Conform to pylint standards (excluding `missing-function-docstring` a…
relic-se 6299b2b
Rearranged library structure to introduce basic driver class, `adafru…
relic-se 557d8e7
Updated example code to utilize basic driver.
relic-se 1f968b4
Fix logarithmic functions.
relic-se ec79c65
Fix tuple manipulation error.
relic-se cf4f995
Updated examples to pass pylint compatibility and black formatting.
relic-se 7442bf8
Fix whitespace in class description.
relic-se 86cbd8b
Fix import order in simpletest example.
relic-se 962a1a8
Fix trailing whitespace and minor formatting.
relic-se 5ae8bc5
Updated pyproject.toml to use package folder.
relic-se File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries | ||
| SPDX-FileCopyrightText: Copyright (c) 2023 Scott Shawcroft for Adafruit Industries | ||
| SPDX-FileCopyrightText: Copyright (c) 2024 Cooper Dalrymple | ||
| SPDX-License-Identifier: MIT |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.