Skip to main content

CircuitPython library for MCP4725 digital to analog converter.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython module for the MCP4725 digital to analog converter.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-mcp4725

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-mcp4725

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-mcp4725

Usage Example

See examples/max4725_simpletest.py for a demo of the usage.

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

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

adafruit-circuitpython-mcp4725-1.4.8.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-mcp4725-1.4.8.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-mcp4725-1.4.8.tar.gz
Algorithm Hash digest
SHA256 2c2a41a701f4772b17b5f1f99526d5419d08130a0476ae628643831335900100
MD5 38f0f22e3f10cb50d4a3864ff9d3bcd2
BLAKE2b-256 97694d1cceb6aab80592d7dd8a6622f1004e76089964a3b64fa815a9c7ab6c21

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_mcp4725-1.4.8-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_mcp4725-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 85374f4727083072135fa2169ac44ca8c3caf88dd3f4ef3277010cd835d39310
MD5 301c3e8fd5b348fbdd65bcd6e790b061
BLAKE2b-256 52e745437e4765df2c93762e02bdd390ef469ecd5825ab9661f6c4f491d0cbdf

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