In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mojorizing wrote: In your IO pins section try this: [code] ------------------------------------------------------------------------- ' IO Pins ' ------------------------------------------------------------------------- Comout pin RB.0 input Transmiter pin RB.1 input Annanom pin RA.0 input WeVane pin RA.1 input RainCheck pin RA.2 input RainReset pin RA.3 output Bncchk pin RC.0 output [/code] then delete this: [code] INPUT Comout INPUT Transmiter INPUT Annanom INPUT WeVane INPUT RainCheck OUTPUT RainReset OUTPUT Bncchk [/code] I ran your program with a lot of the code commented out, and that is what it took to make it run consistently, among other things, but I think it's the main reason. Also, to use SEROUT you'll need to use a 4 mhz crystal for accurate timing, thus changing the DEVICE OSC4MHZ to OSCXT2. Hope this helps, Kevin ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=321196#m321247 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)