In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: You could propbably do it the same way you did on the BS2. A photocell does not lend itself very well to interrupts. You would have to adjust them for different light levels. You "may" be able to use a capacitor to sense a rapid change in light levels. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=165767#m165779 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)