renamed pwmFactory to createPatternPWM