In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: Peter, I think Robert is specifically asking about the SX/B PWM command, which Im pretty sure is mainline code not ISR. Robert, I don't know if you can alter the base frequency of the SX/B command. If not, just use Bean's 16 channel PWM code, it is written in SX/B (non-ISR code), the interrupt method provides you with more control over the PWM. Or compile the PWM command you want, and modify the generated code. I know this requires assembly, but I don't know if you can achieve what you looking for with SX/B alone. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=79861#m79967 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)