In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mojorizing wrote: George, XOR is looking for a byte. If you substitute the following in your variables declaration, it'll compile. Notice now the XOR is with "DirectionByte" in the list file. [code] ' --------------------------------------------------------------------------------------- ' Variables ' --------------------------------------------------------------------------------------- powerLevel VAR BYTE powerUnits VAR BYTE DirectionByte VAR BYTE reverseButDwn VAR DirectionByte.0 powerButDwn VAR DirectionByte.1 reverseDirection VAR DirectionByte.2 [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=301814#m301833 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)