Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
Could your color order be wrong in your example code?
When executing your example code on a TCS 34725, i noticed that the order of the colors returned by the sensor is actually
clear - red - green - blue
, as is confirmed by the specs (see picture).
Your code however it returns
red - green - blue - clear
, which is just a mistake in the documentation.