Hi.I am new at using 8051 microcontroller.My project is doing a phase controlled triac lamp dimmer.The lamp brightness can be made to slowly change up and down over time.I have all the hardware and i want from 8051 to produce a pulse width modulated signal from one of its pins to control the triac.But i don't know how to write its programme by using keil uvision2 programme.If you know please send me the codes Thanks
Yes I noticed the conflict, but I choose to think he actually meant phase control :o) Carsten