In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJ Allen wrote: How do I incorporate this [code] SUB DELAY_MS IF __PARAMCNT = 1 THEN tmpW1 = __PARAM1 ELSE tmpW1 = __WPARAM12 ENDIF PAUSE tmpW1 ENDSUB into this -- [code] starter: TRIS_A = 0 RA = $FF ' Using C.A. R-G LEDs. 1=OFF, 0=ON DO RA = $FD [color=red>PAUSE][/color] RA = $FE PAUSE 500 LOOP [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=204365#m204646 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)