adafruit / Adafruit-Raspberry-Pi-Python-Code

Adafruit library code for Raspberry Pi
1.43k stars 686 forks source link

TCS34725 example needs "enable" line #126

Closed BenjaminLawson closed 4 years ago

BenjaminLawson commented 9 years ago

The example does not enable the TCS sensor, so when it is run all values are "0". Adding the line tcs.enable() immediately after initialization properly enables the sensor.

ladyada commented 4 years ago

Thank you for the Issue! This library has been deprecated in favor of our python3 Blinka library. We have replaced all of the libraries that use this repo with CircuitPython libraries that are Python3 compatible, and support a wide variety of single board/linux computers!

Visit https://circuitpython.org/blinka for more information

CircuitPython has support for almost 200 different drivers, and a as well as FT232H support for Mac/Win/Linux!