Revert "Re-committing my updated analogWrite() implementation on a fresh master since the original issue_372 was getting unmaintainable for merging with 'master' updates."

This reverts commit 2f131e52802075ebef1a4e4e1904a88f5d407708.
(meant to put this in a new branch, not master!)