In addition to what others suggested. Are you using a transistor to buffer the pic
output from the relay coil? If not you may be exceeding the current capacity of
the output pin. This could cause...
I don't think there's anything of substance I can add here, only chiming in to answer implicitly: There is no command or statement to make a pin or port "stay" on. Pin states are "set and forget" in...Amoque Yesterday, 15:51
Thanks henrik, Ill try that on Monday. Have a great weekend..!
Ok will do that we are out of the office already, GMT +8 here. That will be the first thing I try on Monday. Will keep you posted. Thanks Philip. Have a great weekend guysAVGuru Yesterday, 14:14
What Henrik stated must be placed on top of your program.
Try it and reply the results.
Sounds like you're getting bit by the ever so clasic read-modify-write issue caused by not having analog functionallity on related pins turned off.
CMCON = 7 ' Turn off comparator on...