> So the problem is....detecting the dark to light....light to dark transitions because its not a clear cut...you have voltage A and then immidiatly voltage B...there is a ramping that occurs as the colors change under the sensor, along with the glitch, > > I assumed analog detection is the right way to go.....or is it? What are the robotic guys doing or maybe the clear cut distinction between light and dark isn't as important to them as it is for this. > That's what schmidt trigger inputs are for. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist