In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: clocks/resonators/crystals -- The SX can run off of an external clock source attached to OSC1 and OSC2. There are a variety of components for clocks, the easiest to use being the resonators sold by Parallax. Now, with an SX-Key connected, the Key itself can be the clock source (pull your resonator/crystal/oscillator when doing this). The "internal" 4MHZ clock is dandy for a lower component count and for applications that don't need higher speeds BUT (and this is a big but) the ACCURACY of the internal clock is not that great (I believe around +/- 8%, but Bean can probably correct me on this). For many applications this not necessarily a problem, but for any truly time-sensitive operations (like serial communication) it may not provide accurate enough clocking. Short version for your code -- EITHER use an external resonator (say 20MHZ) and change your freq directives accordingly, OR use the SX-Key generated clock (in other words, leave the Key connected when running your app). ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=264135#m264224 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)