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.0.4.tar.gz (15.5 kB view hashes)

Uploaded Source

Built Distribution

BDPotentiometer-0.0.4-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

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