PWM setup created in main