In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: 1) The internal clock is just not accurate enough for reliable serial comms. 2) You can count cycles or use Guenther's SX/Sim. If you're using buffered serial it's mostly a "don't care" as it's happening in the background (unless you have a full buffer). When using straight SEROUT it takes 10xbit_time to send a byte. Bit time is 1/Baud. At 2400, for example, the bit time is 416 microseconds and a full byte takes 4.16 milliseconds. 3) True, but you'll find a balance. 20MHz seems to be good for battery-run apps (all BS2 Stamps run 20MHz or faster). 4) There's www.sxlist.com, but you'll have to do a bit of touch up to incorporate the code found there into your SX/B programs. I really don't think there's any true "plug and play" solution, though Peter Verkaik's very advanced approach to programming may come the closest. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=324554#m325558 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)