I am trying to right a program that could take input from a sensor and turn it into information. The sensor I want to make I simply a RGB Led and a photo resistor to read a color. I not sure how to wire or program the Arduino to read the color of an object and complete an action such as run a motor. Thanks for the help!
I am not sure what you are proposing will work. Have you written any code at all?
There are color sensor units available for a very low cost, but how you read the color sensor depends on what type it is.
Cannot be done with a single LDR (unless use of colorwheel filtering...)
Something like:
Ray