This repository has been archived by the owner. It is now read-only.
Python code to use the MCP4725 digital to analog converter with a Raspberry Pi or BeagleBone black.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub pull request template May 27, 2016
Adafruit_MCP4725 Small fix for python 3 compatibility. Apr 14, 2016
examples Fix busnum in example. Apr 20, 2016
.gitignore
LICENSE Initial commit. Mar 25, 2016
README.md Update README.md Aug 13, 2018
ez_setup.py Initial commit. Mar 25, 2016
setup.py fix pypi packaging Aug 30, 2018

README.md

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.