Update PWM.cpp

changed some things
Merge pull request #1 from kevstauffer/patch-1

Update PWM.cpp