So yeah, I finally got my robot built. Now I’m having problems with coding… mostly the color sensor. It’s the SEN-08663. Can anybody tell me just how to sense what general color it is looking at, without calibration and whatnot? I’m going to edit this later so that I can tell you what pins it is plugged into (the robot’s not in front of me at the moment.)
First go to the SparkFun page for the sensor, not the breakout board, then download the data sheet and app note.
http://www.sparkfun.com/products/8618
Read both documents carefully.
Now go back the the breakout bd page and download the example code.
The one for the PIC has code in assembler and C. Look at the C code for the read routines. These, the data sheet and the App note contains all you need.