In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jdemeyer wrote: Greetings, I am using the SERIN command with the optional timeout parameter: [code] SERIN rb.0,T38400,temp1,50,NoMoreBytes [/code] This code will place received data in temp1, or jump to the label NoMoreBytes if it does not receive data after 50 ms. The help file indicates that the Timeout parameter can be a byte or word variable so I'd like to use: [code] SERIN rb.0,T38400,temp1,theTimeOut,NoMoreBytes [/code] Here, the Word variable holds the amount of time that SERIN waits. Since its a variable, I can change it in the program. When I try this, the assembly code gives me the impression that it does not use the value in the variable. Have I misinterpreted the Help file? Thanks, Joe ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=253008 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)