In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Thanks Bean, I will test this. One remark: The routine GetChar: IF sRecvd = 0 THEN GetChar ' Wait until received bit is high PUT __PARAM1,sData ' Save the received character sRecvd=0 ' Clear the received bit RETURN is the same as in revD. I had to replace the line PUT __PARAM1,sData by char = sData to make it work because the calls are GetChar @char, so the return value is not used. Or the calls must be changed to char = GetChar regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=187393#m187400 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)