python PWM output demo