Logging Data from TCS34725 RGB Color Sensor
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Logging Data from TCS34725 RGB Color Sensor
0-255 is an 8-bit range. To change a 16 bit value into an 8-bit value, you divide by 256. You can do that anywhere after you read the raw 16 bit values. Just keep in mind that you are throwing away most of your resolution in doing that.
Please be positive and constructive with your questions and comments.