Adding invertPWM option to support basic h-bridge

Necessary for motor controllers that do not invert PWM value on
h-bridge when digital pin is set to high.

Previously PR #367
:clap: