Output PWM on any pin. Partly based on SoftPWM with some improvements

unknown revision 'shortlog'