No description
Find a file
2018-12-20 13:35:01 -06:00
.github Add GitHub pull request template 2016-05-27 13:24:18 -07:00
Adafruit_MCP3008 fix a tiny typo 2018-01-18 17:28:26 +11:00
examples Update differential.py 2016-04-14 14:41:29 -07:00
.gitignore Initial commit. 2016-02-06 01:30:14 +00:00
ez_setup.py Initial commit. 2016-02-06 01:30:14 +00:00
LICENSE Initial commit 2016-02-03 14:40:02 -08:00
README.md updating readme for deprecation 2018-12-20 13:35:01 -06:00
setup.py Fix python 3 pip install issue with ez_setup relative import. 2016-10-20 02:30:32 +00:00

DEPRECATED LIBRARY: Adafruit Python MCP3008

This library has been deprecated! We are leaving this up for historical and research purposes but archiving the repository.

We are now only supporting the use of our CircuitPython libraries for use with Python.

Please see the CircuitPython MCP3xxx library for using the MCP3008: https://github.com/adafruit/Adafruit_CircuitPython_MCP3xxx/

Python code to use the MCP3008 analog to digital 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_MCP3008.git
cd Adafruit_Python_MCP3008
sudo python setup.py install

Alternatively you can install from pip with:

sudo pip install adafruit-mcp3008

Note that the pip install method won't install the example code.