In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Coriolis wrote: Ray, cant you modularize the code so that you automatically compile correctly based of the FREQ directive? Im pretty sure there is a compile time constant _FREQ or something similar, or at the very least you can define a constant and derive all your time critical values based off the constant. That way you have to only change at most two locations in you program and have it work for any oscillator frequency. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=115967#m116009 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)