My cable connections are as following:
* SCL – the serial clock – is connected to a5 (analog input 5)
* SDA – the serial data line – is connected to a5 (analog input 4)
* SLEEP was tied to GND
* LED was connected to pin 2
* XCLK – the external clock was left floating.
I want to make a color senser which is stainable and able to sense colors as much as it can. I use the program of Arduino 0021 as my compiler on operation system Windows, the link is http://arduino.cc/en/Main/Software. Can you teach me how to write the program?