Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Python code to use the TCS34725 color sensor with the Raspberry Pi & BeagleBone Black.

Project description

DEPRECATED LIBRARY Adafruit Python TCS34725

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 TCS34725 with Python!

https://learn.adafruit.com/adafruit-color-sensors/python-circuitpython


Python code to use the TCS34725 color sensor with the Raspberry Pi & 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_TCS34725.git
cd Adafruit_Python_TCS34725
sudo python setup.py install

Alternatively you can install from pip with:

sudo pip install adafruit-tcs34725

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Adafruit_TCS34725-1.0.3.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Aug 30, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page