hello everyone i am trying to use ADC n PWM to dim down the LED.. i have done the ADC part but how to generate the PWM code.. someone guide mi.. and i usin c8051f226dk.. using silicon software