MySensors Library & Examples  2.3.2
pwm.c

Shows how to use PWM to control GPIO pins