Skip to main content

BDPotentiometer

Build Documentation Status

Module to operate Digital Potentiometer over SPI bus. Extends gpiozero SPIDev class.

Installation

To install BDPotentiometer use pip

$ pip install BDPotentiometer

Usage

Just import the correct potentiometer class, for example MCP4231, and start operating your pot.

from BDPotentiometer.mcp4xxx import MCP4231


my_pot = MCP4231(r_ab=10e3, device=0)
my_pot.channels[0].value = 43

Please see the examples directory for more usage examples.

Detailed documentation is available at https://bdpotentiometer.readthedocs.io

License

BDPotentiometer is free open source software licensed under MIT License

Metadata

Release files for BDPotentiometer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BDPotentiometer 0.1.0
File Size Uploaded Provenance Actions
bdpotentiometer-0.1.0.tar.gz 17.0 kB Without provenance Details for bdpotentiometer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for BDPotentiometer 0.1.0
File Interpreter ABI Platform Actions
BDPotentiometer-0.1.0-py3-none-any.whl Python 3 none any Details for BDPotentiometer-0.1.0-py3-none-any.whl

Total release size: 36.1 kB

Release files / bdpotentiometer-0.1.0.tar.gz

Download URL bdpotentiometer-0.1.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
419ccaf091e35b4c62d23b33f9e14c4fa5dbc59eaf13bee8ab591506d8d808a8
BLAKE2b-256 checksum
How to use checksums
3d0004663c0438399df3830f680c7c642bacfa325a1d5901dedbb5960e6465a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / BDPotentiometer-0.1.0-py3-none-any.whl

Download URL BDPotentiometer-0.1.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24d9cce5a0253c79bee5e8e7db778fe4f268e09ac2616e8ed87ef655d542b644
BLAKE2b-256 checksum
How to use checksums
11d0917ad00de753b352fd341f3fd78753c9a48f41b6653c681e207c3d834506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for BDPotentiometer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page