Skip to main content

CircuitPython library for TCS34725 color sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython module for the TCS34725 color sensor.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-tcs34725

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-tcs34725

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-tcs34725

Usage Example

See examples/tcs34725_simpletest.py for an example of the module’s usage.

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

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

Source Distribution

Built Distribution

File details

Details for the file adafruit-circuitpython-tcs34725-3.3.20.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-tcs34725-3.3.20.tar.gz
Algorithm Hash digest
SHA256 787ed7a06a5cc8f56af7f3b25d3f5c087d8939675135fe9ea34811103881201d
MD5 d125b899a39732f8dfa8b6ca41643b8b
BLAKE2b-256 00ed3ba0e01ea9ea3b6fc8b6e529e6b8bc482f5be4cd40f7fbe274f10202597d

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_tcs34725-3.3.20-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_tcs34725-3.3.20-py3-none-any.whl
Algorithm Hash digest
SHA256 d573d0e37ba14f9fb3f2c64cad8f6e5770bb212683af671c4536578575f3f377
MD5 1a4dc25ea5e8bf019029dbe4a03fc857
BLAKE2b-256 96b31fdbfd00737e7b3edd7fc8d9f14ff0f65e1a01571d4c1c73512ec39c5f1f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page