In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Fry, Any code before "Start:" will never get executed. So your "OUTPUT RB.0" and "INPUT RB.0" never get executed. HIGH and LOW will force the pin to be an output. "RB.0 = 1" and "RB.0 = 0" do not, they simply set the output latch. So if the pin is an input, you won't see anything on your led. The best way to handle this is to DEFINE the pin as an output. As in: LEDS PIN RB.0 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=185862#m186685 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)