In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Tracy Allen wrote: I'm not sure if I understand the intent, but if you mask off the 7 high bits of the high byte (AND #%00000001), then the 65535 rollover value will be the 511 rollover value I think you want. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=89622#m89747 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)