In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: e.g. [code] '{$DEFINE UsePortC} '{$IFDEF UserPortC} serialOut PIN RC.0 '{$ELSE} serialOut PIN RB.0 '{$ENDIF} [/code] If you remove the DEFINE line, then the program will compile with RB.0 as the serial out pin, otherwise RC.0 will be the pin. Just an example, of course. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=348374#m349004 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)