This compiled HEX test your PORTA.6 (pin 15) on your PIC if is it wired right.
It switch ON and OFF the relay five times, on LCD write: Rele ON if activate the pin
and Rele OFF when deactivate the pin.
If this perform As I wrote then the rele is wired OK and works. Then the fault must be elsewhere.
Then we go troubleshoot further more.
Bookmarks