resolve analogWrite issue and add a pwm example
Merge pull request #9 from quake/development

Resolves analogWrite issue and adds a pwm example; Thanks to @quake ~!