AC Light Dimming

It's working!!!!!!!! Woo hoo. I will post code tomorrow but turns out the problem was a delay in another part of the program messing with the interrupt.