In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: If you want to offload the software overhead by using the onboard timer functions, you should use the PWM mode of the timers. This permits you to set you base period (frequency) using R2, which resets the timer and sets the output low. By setting R1 to a value between 0 and R2, you set the duty cycle of the PWM. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109161#m109218 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)