better pwm gpio config