In SX Microcontrollers, SX/B Compiler and SX-Key Tool, cbmeeks wrote: Thanks! I tried Friday night to get the 16 bit timers to work in SX/B but had no luck. Then, due to severe neck pains, didn't program any Saturday or Sunday. :-/ Maybe I can try again tonight. So, for my example, if I needed 2542 clocks, I would choose 1:16 because 16*256 = 4096. Then, I would take 2542 / 16 = 158.875. I don't like rounding...if I did: [code] retiw w, #-159 [/code] What is that going to give me? This is for video work and sometimes "close enough" isn't close enough. :-) cbmeeks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=144847#m145138 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)