added PWM dimmer sample