Multiple TCS230 Color Sensors
my setup follows: 5 x tcs230 color sensors (http://www.dx.com/p/tcs230-color-sensor-detector-module-for-arduino-148739?item=1#.wy7i9ilbouu) 3 x cd74hc4067 multiplexers (https://eckstein-shop.de/sparkfun-analog-digital-mux-breakout-cd74hc4067) majicdesign's library (https://github.com/majicdesigns/md_tcs230) i'm trying use 5 color sensors @ same time, i'm not sure wiring / setup. wiring looks this: all s2 pins sensors multiplexed , connectes pin 12 all s3 pins sensors multiplexed , connectes pin 13 all out pins sensors multiplexed , connectes pin 5 all s0-s3 of multiplexers connected pin 1-4 with code / setup values of sensors seem depend on each other - if hold white card in front of reader0, values of other readers change accordingly (and randomly). this code i'm trying use: code: [select] #include <md_tcs230.h> #include <freqcount.h> // pin definitions #define color_s2 12 // s2 pins colorsensors bundled here...