Hi im jenifer,

Im doing a light dimmer with a PIC16f877.
In my code i need to detect the rising edge of the scare signal thats enterring in my PIC. I don't know how to control the intensity of my light. I know that i need to change the delays to change the intensity.

Any ideas on how to do all that?

thanks alot