In SX Microcontrollers, SX/B Compiler and SX-Key Tool, AlanCF wrote: When I try to set an output pin to 1 or use the HIGH command the output turns off, when I use LOW or 0 it turns on and when I detect an input IO it's also backwards. This happens with most of my programs, so I think it's the code. Here's The Code: ' TESTB.SXB DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX FREQ 4_000_000 LED1 PIN RA.3 PROGRAM Start Start: low LED1 GOTO Start Thanks, AlanCF ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=275765 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)