In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Chris, Is the input pin and the output pin the same pin ? Jon code makes that assumption. If they are different pins then just use "OutPin = ~InPin" Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188185#m188196 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)