> My problem is that when I set portb,5 to a high in my software, > I get a pulse out of the output pin that snaps the relay and then > drops it Faulty component ? Have you measured the PIC pin to make sure it's staying high and not being turned off unnoticed ? -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body