In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: You don't need the temporary variable in that routine -- after looking at the code generated for SEROUT the value transmitted is immediately moved into __PARAM1 which means you can do this: [code]' Use: TX_BYTE aByte ' -- transmits one byte to serial port SUB TX_BYTE SEROUT TX, Baud, __PARAM1 ENDSUB[/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=330128#m330136 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)