Pulse position, not pulse length !!!
Hi, reven
Henrik is right ...
Here, the pulse length is not the thing to be variable.
but you must vary the time between zero voltage detection and triac gate firing ...
Long time = weak light
short time = full light
remember once the triac is turned on it stays turned ON until current becomes null.
Alain
Here, you had programmed a ... DC Dimmer !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks