Quote Originally Posted by mbw123 View Post
It takes five seconds for the LED to come on.

I tried to turn it on without using the RTS and it works fine.

Just now, I tried putting a diode on the pin and it actually seems to be working now. I put the diode in because I thought that the -10V when the RTS was off, was a problem (because it worked when not using RTS from the serial port) and therefore a diode might help. I guess I did something right for once. There is no longer a pause and it works just as programmed, finally

Thanks for all the help everyone!

-Mike
Good deal...
Maybe that negative voltage was screwing with the guts of the PIC somewhere causing it to latch up somehow, WDT kicks in, resets the PIC, and the sequences starts over...
who cares why...it works now...that's all that matters...
Next time you might want to think about a MAX232 or equivalent circuit... Also helps keep you from blowing up pins on a PIC!