p.ChangeFrequency(freq) # where freq is the new frequency in Hz. To change the duty cycle: p.ChangeDutyCycle(dc) # where 0.0 <= dc <= 100.0. To stop PWM:.
確定! 回上一頁