Steve Kasm wrote: > > Hello All, > 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. The > only way I can get the relay to stay up is to put the bsf, portb,5 > instruction in a loop which basically sends a pulse train to the > transistor that holds the relay up. Try turning the WDT off. -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body