summaryrefslogtreecommitdiff
path: root/Adafruit_Python_MCP3008/README.md
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-05-16 21:14:38 -0600
committerCody Hiar <codyfh@gmail.com>2018-05-16 21:14:38 -0600
commit611a8b7be4331e4f8416c4d10a0be47a109b47e4 (patch)
tree206adb073b1eeda504f05e9a81eabc416da961aa /Adafruit_Python_MCP3008/README.md
parentcec86d65a5b80bcfaf447ff078031d92ed3c7557 (diff)
Adding MCP3008 library
Diffstat (limited to 'Adafruit_Python_MCP3008/README.md')
-rw-r--r--Adafruit_Python_MCP3008/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/Adafruit_Python_MCP3008/README.md b/Adafruit_Python_MCP3008/README.md
new file mode 100644
index 0000000..6b7da9a
--- /dev/null
+++ b/Adafruit_Python_MCP3008/README.md
@@ -0,0 +1,19 @@
+# Adafruit Python MCP3008
+
+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.