Micro - 17kHz PWM 0~255

Hey,

I was wondering if anybody can help point me in the right direction to drive a DC motor at approx 17850Hz

I also need to be able to continue to use TimerOne (With &Timer1) Library - although I may be willing to drop this if it's the only way to get what I need.

Thanks in advance.

Do you mean 17850 rpm?

Crikey, I don't even think my motor would be half capable of that speed.

17850Hz Frequency output, with PWM. 0~255.

Why is it that you believe you need a specific PWM frequency to drive a DC motor? Mostly higher freqs are used to get rid of hum, but are then spec'd at some arbitrary figure such as 40kHz.

I've basically replicated a board but the motor was running a 17850Hz. Anything lower than this and it just hums. I was using PWM Frequency library on a nano, but I need to switch over to a micro and the PWM Frequency doesn't work on that.

Which PWM library? Can you link a copy?

Sure: GitHub - RCS101/PWM: Fast PWM library, written by Sam Knight.

Google Arduino PWM Secrets.