In SX Microcontrollers, SX/B Compiler and SX-Key Tool, electronic wrote: Bean, Yes, I am using the up/down keys to trigger the interrupt routine. I can check the time constants before returning but I need to return to different routines depending on actual values of the time constants. Hence my first question. I am using the main code to generate the pulses in order to allow me to generate very narrow/fast pulses without interrupt routine latency delays of 5 cycles. Using my main code subroutine I can generate pulses 5 cycles wide (or less with extra subroutines). I am trying to optimise the code to take full advantage of the SX28. Many thanks for your help. electronic ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=162350#m162353 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)