I am attempting to control a 24 VAC contactor via PIC16F690 using a 3 quadrant triac (https://www.electro-tech-online.com/custompdfs/2012/12/BTA2008W-600D-1.pdf). The contactor works beautifully when I connect it to the triac via a 5 volt supply through a 220 ohm resistor; however, it does not work so well going through the pic. To troubleshoot the problem, I assembled the attached circuit. When SW1 is closed and SW2 is opened, the contactor closes AND the led connected to RA5 illuminates. What might cause the LED to activate?