Yes. I am thinking about a way to make sure that there won't be a 1 for a 0 and vv.. I think about using a cylinder and placing the LDR on the one side and a lightsource at the other one. Then we need some way to interrupt the beam effortlessly. > I went through the same train of thought recently. Light-sensitive > pushbuttons are definitely cool. Ended up using pushbuttons, > though. Rationale: If there is any chance of a false positive or > false negative, the classiness of the no-contact approach isn't so > classy. -- Timothy J. Weber http://timothyweber.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist