In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Peter, Yes the real point of the trick is that you can have the prescaler set to 1:32 (or whatever), and have interrupt generated with 1 cycle resolution instead of 32 cycle resolution. Here are the programs I used to determine the cycles lost with the prescaler. You connect the FreqPin to a frequency counter. You should get the same frequency on the counter if the "MOV RTCC,W" line is commented out or not. Because either way RTCC will be 3, and the prescaler will be cleared. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=249607#m250089 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)