In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Periodic interrupts are enabled just before your main code is started (after memory is cleared and ports are setup). For your situation, I would make the pin an INPUT, then after you get the variables setup make it an OUTPUT. Bean ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=234188#m234189 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)