I removed the delay(1000); in the void loop, but there are still a number of delays for 100 and 500 ms throughout the code. Are these delays necessary for the color sensor to operate properly? Can they be removed or reduced safely (without preventing the color sensor from identifying colors)?
On a related note, we may only need to return a greyscale value to judge contrast. I believe this is the clear channel value - is this correct?
Maybe the delays are there to allow the sensor to reset or something. Some sensors are fairly slow and give inconsistent results if they receive messages while they are busy. Best check the datasheet.
The burden is on you to make it easy to help you. If you can't be bothered, neither can I.
I don't know why you're putting the word link in quotes. It is not broken. Try the link without the anchor tag on the end, and then just scroll down on the wiki page to the Demonstration portion: http://www.seeedstudio.com/wiki/Grove_-_I2C_Color_Sensor
I understand the burden is on me, which is why I "masked" the link to clearly say what it is. I even put a second link so that you didn't have to scroll through that whole page to find the sample code that seeed studio provides. I did all I could to "make it easy" to help me, but you refused to click on the links I provided.