Can someone help me with some code to drive a 120v light bulb with a traic?
I have the circuit built i just dont really know how to write the code. Im using a 18x chip. I would hope i could use pin 18 for zereo crossing detection and pin 3 to use pwm to control the the light levels.
I want to...