A awesome PWM function generator for testing