In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: I don't think your code is that bad. In fact it's quite logical and easy to read. You COULD do some fancy stuff with bit masks and such, but it would make it alot less readable. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=394524#m394644 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)