In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Kauffman wrote: AND sounds like the right track, but doesn't AND only work for bit - sized ? I've fooled around with AND but can't figure out how to differentiate oe switc closed and two switches closed To get from 0 up to 2 wouldn't I need byte sizes? I see I can do both additions on one line, but I still need byte size variable, no? Could point on the LED code, thanks. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=157351#m157369 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)