{"id":18147443,"url":"https://github.com/thestaticturtle/circuitpython_tpa6130a2","last_synced_at":"2025-10-26T12:12:11.994Z","repository":{"id":190843765,"uuid":"683440173","full_name":"TheStaticTurtle/CircuitPython_TPA6130A2","owner":"TheStaticTurtle","description":"Library to control the tpa6130a2 headphone amplifier","archived":false,"fork":false,"pushed_at":"2023-08-26T15:38:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T15:53:36.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheStaticTurtle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-26T15:27:24.000Z","updated_at":"2023-08-26T15:39:47.000Z","dependencies_parsed_at":"2023-08-26T18:09:10.024Z","dependency_job_id":null,"html_url":"https://github.com/TheStaticTurtle/CircuitPython_TPA6130A2","commit_stats":null,"previous_names":["thestaticturtle/circuitpython_tpa6130a2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStaticTurtle%2FCircuitPython_TPA6130A2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStaticTurtle%2FCircuitPython_TPA6130A2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStaticTurtle%2FCircuitPython_TPA6130A2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheStaticTurtle%2FCircuitPython_TPA6130A2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheStaticTurtle","download_url":"https://codeload.github.com/TheStaticTurtle/CircuitPython_TPA6130A2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247553174,"owners_count":20957421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T22:06:33.562Z","updated_at":"2025-10-26T12:12:11.909Z","avatar_url":"https://github.com/TheStaticTurtle.png","language":"Python","readme":"# CircuitPython_TPA6130A2\n\nLibrary to control the tpa6130a2 headphone amplifier\n\nhttps://www.ti.com/lit/ds/symlink/tpa6130a2.pdf\n\n## Usage Example\n\n```py\nimport i2c\nfrom tpa6130a2 import TPA6130A2\nimport board\nimport busio\n\ni2c = busio.I2C(board.GP1, board.GP0)\ntpa = TPA6130A2(i2c)\n\ntpa.soft_shutdown(False) # Turn the ship on, the hardware pin bypasses the software shutdown\ntpa.set_mute(False, False) # Disable the mute flags on the left and right speakers\ntpa.set_mode(TPA6130A2.MODE_STEREO) #Set it to use stereo\ntpa.set_volume(0b110101) # set the volume 0-63\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthestaticturtle%2Fcircuitpython_tpa6130a2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthestaticturtle%2Fcircuitpython_tpa6130a2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthestaticturtle%2Fcircuitpython_tpa6130a2/lists"}