Hi guys,
I have this link which has a basic dimmer circuit (look at the Leading Dimmer Circuit). If I am right, the variable resistance is used to change waveform across the load for a leading edge dimmer. Its set to 50% in the waveforms shown.


My question is, how can I modify circuit for the % of ON time to be varied by sending parallel bits (say 8) from a microcontroller? Because I want to make this programmable, not change it manually.
If I have 8 bits, I have 256 discrete levels. For example: for 0xFF (decimal 255) sent, it can be 100% of the waveform, for 0x7F (decimal 127), it can be 50%. Likewise. Any suggestions?
Regards,
Jay.