hi sup all...!!!
i need a complete code of TCS230 color sensor which can easily sense RGB color. Can any one have please post here. Thanks.. but please 100% working code.
http://playground.arduino.cc/Main/InterfacingWithHardware#light_sensor
(search for TCS230)
There are more.
thanks bro but how can i download this libraries .. there is no download link available?
For example the third one.
Go one level higher: GitHub - dalmirdasilva/ArduinoColorRecognitionDriver: ColorRecognition driver for Arduino.
And the "Download Zip" is a button on the right.
Libraries and examples code, documentation in the code repository link in my signature.
http://arduinocode.codeplex.com/releases/view/115253
Very nice marco_c, I didn't know your repository.
Thanks All for helping me .. (Y)
Sorry to hook in, but im using this on my Leonardo and i get an error. Its saying
static inline void timer_shutdown(void)
{
TCCR2B = 0;
doesnt exists.
So i changed it to:
static inline void timer_shutdown(void)
{
TCCR0B = 0; //for Leonardo ???
So that works.
But whatever i do and try ( i tried 7+ differend codes and wires) i always seem to get either all 0,0,0 or all 255,255,255 or either 255,0,0 0,255,0 or 0,0,255
And this is all once it loads, thats what it does. I mean, the sensor completely ignores colors. Wheter its black, white, red, yellow it just changes slightly (like hardly anything, could be Noise) but stays arround the same core values, which translate to roughly these values.
-Does that mean i just got the wrong wires, with the wrong code?
-Or is it because im using the Leonardo?
-Or is it because im using a Clone arduino?
-Could it be that i blown up the Leonardo or the Color Sensor by putting 5V on any of the pins, or all pins?
-Could it be the sensor is broken and i got a malfunctioning unit?
Any ideas welcome! Please, i spend 5 hours trying to get this thing to work