This design note shows how to use CC251x PWM for dimmer functions in LED lighting applications. As the popularity of LED lighting increases, the CC251x single chip solution not only provides the wireless remote control functions but also dimmer function by using one of its built-in PWMs. By configuring the timer peripheral to PWM and set the corresponding registers for frequency and pulse width, the desired PWM signal can be generated. It can highly reduce the complexity of the control code and the effort on software. Although this design note discusses the CC251x in particular, the same principles apply to CC111x and CC243x as well.

http://www.ti.com/lit/swru227