In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: The values must be 65535 or less. If you require a larger value, then you need to use the prescaler option too. For your values you would have to use a prescale of 1:4 and use 42735 for 170941. TIMER1 PRESCALE, 2 ' 2 = 1:4 prescaler TIMER1 PWM, value, 42735 ' Value = 0 to 42735 Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=192079#m195601 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)