In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Well you cannot start a variable (or pin) name with a digit. And you need to adjust your values, for higher Hz rates you need LOWER reset values. 32 Hz would be 2336 (not 8192), 61 hz would be 1225 (not 15616) and 292 Hz would be 256 (not 74752). Just take 74752 / hz to get the reset value. 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#m196263 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)