In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: You have to XOR two variables (something with something else) e.g.: reverseDirection = reverseDirection XOR %00000100 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=301814#m301820 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)