Hi friends,
I want to control the 25w bulb intensity, i am using pic16f877a controller xc8 compiler and also i have attached my code with circuit diagram.
For controlling the AC voltage we need to fine zero crossing, this is done by code through interrupt.
In my code i have used two switch for incrementing and decrementing the intensity,
but i am not getting any output using the switch?
How to rectify this error and also if there is any mistake in my code means let me know?
Thank you in advance
I am waiting for your reply