bhagman / SoftPWM

A Wiring (and Arduino) Library to produce PWM signals on arbitrary pins.
MIT License
86 stars 31 forks source link

Change PWM frequency #7

Open lukaszdebowski opened 5 years ago

lukaszdebowski commented 5 years ago

Hi there! Is there an option to increase the frequency of the PWM signal? I'm trying to control small DC motors using this library, but there are significant vibrations going on to the motor with using the PWM. I suppose it is cause of the low frequency of the PWM signal. If yes, how can I do that?