Create PWM initialization functions (for motor)