In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Alessandro wrote: Hi again! I'm making a sort of polling and i have to make a pin high if a bit of a variable is 1 or i have to make the same pin low if the bit of a varialbe is 0. bytetest var byte dataout var rb.0 ..... dataout=bytetest.7 (the MSB of bytetest) but it seems to not work... i have also use "IF" If bytetest.7=1 then high dataout (it doesn't work the same) it is a stupid .... but i'm going crazy. Can anybody help me? Alessandro (italy) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=295362 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)