Skip to content

Commit 0934a86

Browse files
committed
Update README.md
1 parent 1bccf4f commit 0934a86

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
# Adafruit_Python_TCS34725
1+
# Adafruit Python TCS34725
22
Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black.
3+
4+
## Installation
5+
6+
To install the library from source (recommended) run the following commands on a Raspberry Pi or other Debian-based OS system:
7+
8+
sudo apt-get install git build-essential python-dev
9+
cd ~
10+
git clone https://github.com/adafruit/Adafruit_Python_TCS34725.git
11+
cd Adafruit_Python_TCS34725
12+
sudo python setup.py install
13+
14+
Alternatively you can install from pip with:
15+
16+
sudo pip install adafruit-ads1x15
17+
18+
Note that the pip install method **won't** install the example code.

0 commit comments

Comments
 (0)