In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: When using a WORD variable as the timeout parameter in SERIN, the timeout value does not get loaded into the __PARAM1 and __PARAM2 variables. Either use a BYTE variable for the timeout parameter or put this line just before the SERIN command [code] __WPARAM12 = timeoutWordVar + 256 [/code] This will load __PARAM1 and __PARAM2 with the correct values. Bean ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=136824#m253066 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)