source= http://www.piclist.com/piclist/2003/11/24/042352a.txt? Would not the inverter after the photocells cause it to only react when the light passes above and below a certain level? How about a photo transistor directly connected to the diode, cap, resistor circuit? --- James Newton: PICList.com webmaster, former Admin #3 mailto:jamesnewton@piclist.com 1-619-652-0593 phone http://www.piclist.com/member/JMN-EFP-786 PIC/PICList FAQ: http://www.piclist.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics