Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black.
Project description
DEPRECATED LIBRARY Adafruit Python MCP4725
This library has been deprecated!
we are now only using our circuitpython sensor libraries in python
we are leaving the code up for historical/research purposes but archiving the repository.
check out this guide for using the mcp4725 with python! https://learn.adafruit.com/mcp4725-12-bit-dac-tutorial/python-circuitpython
Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black.
Installation
To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:
sudo apt-get install git build-essential python-dev
cd ~
git clone https://github.com/adafruit/Adafruit_Python_MCP4725.git
cd Adafruit_Python_MCP4725
sudo python setup.py install
Alternatively you can install from pip with:
sudo pip install adafruit-mcp4725
Note that the pip install method won't install the example code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Adafruit_MCP4725-1.0.4.tar.gz
.
File metadata
- Download URL: Adafruit_MCP4725-1.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14d7aed1f81942e3d790df8e084d19508a78734d84d05fade48c334a7b1f80a |
|
MD5 | b89bbc803f1601c74fa1b8fe007ee276 |
|
BLAKE2b-256 | 576108456a42755e6aa726bd736f071626e605cc070630af144fd6a5fed3907d |