In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I've never bought into that "odd number" argument for serial sampling; I've always used 4x (or higher lower baud rates when I want to choose), except for DMX which runs 250K baud where I use 3x sampling. Assuming you want to do 19_200 baud your ISR needs to run 76_800 times per second (every 13.02 microseconds) -- using 4x sampling. If you're going to use SX/B the attached program may give you a boost; you'll want to adjust the ISR rate and the baud constants, but that's pretty easy to do. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=296284#m296295 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)