Skip to main content

BD Digital Potentiometer

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bdpotentiometer-0.1.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

BDPotentiometer-0.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file bdpotentiometer-0.1.0.tar.gz.

File metadata

  • Download URL: bdpotentiometer-0.1.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for bdpotentiometer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 419ccaf091e35b4c62d23b33f9e14c4fa5dbc59eaf13bee8ab591506d8d808a8
MD5 f48b4701ebfaa93a576f14757571a55a
BLAKE2b-256 3d0004663c0438399df3830f680c7c642bacfa325a1d5901dedbb5960e6465a7

See more details on using hashes here.

File details

Details for the file BDPotentiometer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for BDPotentiometer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24d9cce5a0253c79bee5e8e7db778fe4f268e09ac2616e8ed87ef655d542b644
MD5 b484d8aa65b59139ddc827224aaeb88d
BLAKE2b-256 11d0917ad00de753b352fd341f3fd78753c9a48f41b6653c681e207c3d834506

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page