Add soft PWM methods
Merge pull request #7 from andrewn/soft-pwm

Add soft PWM methods