In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: Oi... I could have sworn that he wanted the same pin, but looking at it now I think you're right, Terry. Chris, this will work [code] outPin = ~inPin[/code] If the pin directions have been previously set then this is all you have to do; it compiles as expected to: [code] MOVB outPin,/inPin[/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188185#m188218 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)