In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: PLJack, Very nice. Just a couple notes though: You only need 1 PWMCounter because all three will always be the same value anyway. Check the assembly listing, and if it doesn't use any __PARAMx variables, then add NOPRESERVE to the INTERRUPT line. That will save a bunch of cycles in the interrupt. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=156930#m156947 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)