In SX Microcontrollers, SX/B Compiler and SX-Key Tool, TheBandit wrote: I am looking at the Quadrature Encoder example shown in the SX/B Help and I have a question about how a variable is defined in this code. [color=blue> EncPort ] encNew = EncPort & %00000011 ' get econder bits[/color] [color=#0000ff> What]& %00000011 [/color]do? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=171746 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)