Thanks for your reply guys.
Bt the way i've attached the circuit diagram.
- The switch will trigger the SCR to turn ON
- SCR will continue to run no matter the condition of the switch
- PIC will turn OFF the SCR when a "low" signal is set
I placed a diode on the PIC to protect it from the +voltage. I was worried that the +voltage might damge the PIC port. Are my assumptions right? Also, I can't set the PIC port with the corresponding TRIS* at the beggining of the program since it may affect the operation of the SCR.