Added support for hardware PWM

Soft pwm is still supported.