This fixes #7097.  The driver for the PWM is complete.
This fixes #7431.  It was the unit conversions.  They weren't properly ignoring nulls.  They were rounding them.  ;)