gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.99k stars 1.59k forks source link

PWM Frequencies #1187

Open JoKrk opened 1 year ago

JoKrk commented 1 year ago

Hi All,

I'm new to GRBL & Arduinos, I'm interested in the range of frequencies GRBL can support through the spindle PWM?

I see in the docs that the default frequency is 1kHz and from other comments in this repository, that the max is ~8kHz. Is 8kHz correct and can anyone help explain why the max freq is what it is please? Just interested in learning more.

Thanks!