Added a more illustrative pwm example.