Hello,
I bought TCS3413CS color sensor https://software.intel.com/en-us/iot/hardware/sensors/tcs3414cs-color-sensor IoT - TCS3414CS Color Sensor | Intel® Developer Zone and I have also SparkFun Block for Intel Edison - I2c. I use upm library and my code in C++ from: https://software.intel.com/en-us/iot/hardware/sensors/tcs3414cs-color-sensor IoT - TCS3414CS Color Sensor | Intel® Developer Zone . Why it doesn't work? I always get the same respond:
41400, 2052, 36305, 2052
and when I disconnect this sensor then I also get: 41400, 2052, 36305, 2052
What am I doing wrong? Thanks in advance
Link Copied
Hello Cleo90,
I checked the example and it is the same as the one found in https://github.com/intel-iot-devkit/upm/blob/master/examples/c%2B%2B/tcs3414cs.cxx upm/tcs3414cs.cxx at master · intel-iot-devkit/upm. Unfortunately I don't have access to a TCS3414CS sensor, so my best suggestion is that you contact the creator of the script to see if he can provide you a more accurate answer you can find the contact information of the creator in the link above.
Peter.
Hello Cleo90,
I checked the example and it is the same as the one found in https://github.com/intel-iot-devkit/upm/blob/master/examples/c%2B%2B/tcs3414cs.cxx upm/tcs3414cs.cxx at master · intel-iot-devkit/upm. Unfortunately I don't have access to a TCS3414CS sensor, so my best suggestion is that you contact the creator of the script to see if he can provide you a more accurate answer you can find the contact information of the creator in the link above.
Peter.
Thank you for your answer. I will contact with the author.
For more complete information about compiler optimizations, see our Optimization Notice.