Hi,

Why not have a look to the CCP COMPARE section of your Datasheet ??? just reset TMR1 @ zero crossing and load Compare value as the delay for delaying your SCR firing ...

What about ???

Also have a look to MELABS site examples page , Steve Monfette has provided a good example ... for dimmer.

http://www.melabs.com/resources/samp...ted/dimmer.zip

Alain