In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You can't use the internal clock source for serial comms -- it's not accurate enough. And I know it sounds funny to say, but you're using old fashioned SX/B syntax. RX_BYTE should be a function declared like this: [code]RX_BYTE FUNC 1, 0[/code] ... and coded like this: [code]FUNC RX_BYTE SERIN Sio, Baud, __PARAM1 ENDFUNC[/code] Since __PARAM1 is used to return a byte from a function we can use it to receive the serial byte (I've looked inside the SERIN code so I know this is okay). ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=333135#m333302 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)