diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-10-13 21:10:11 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2023-11-16 22:07:15 -0500 |
commit | 29b7550ce5330da8e5ca4f22c1420cbeadf01eaf (patch) | |
tree | 107c086343081c9589af7be53873fea1a7a40d29 /docs/Using_PWM_Tools.md | |
parent | 48a05eaa542bfd4a1099c2224bda443049a6fa64 (diff) | |
download | kutter-29b7550ce5330da8e5ca4f22c1420cbeadf01eaf.tar.gz kutter-29b7550ce5330da8e5ca4f22c1420cbeadf01eaf.tar.xz kutter-29b7550ce5330da8e5ca4f22c1420cbeadf01eaf.zip |
pwm_tool: Add support for high-speed PWM pin updates
The output_pin module is only capable of updating an output pin at
most once every 100ms. Add a new pwm_tool module that is capable of
queuing updates in the micro-controller and thus allowing for much
higher update rates.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Using_PWM_Tools.md')
-rw-r--r-- | docs/Using_PWM_Tools.md | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/docs/Using_PWM_Tools.md b/docs/Using_PWM_Tools.md index a67df84d..108ae37a 100644 --- a/docs/Using_PWM_Tools.md +++ b/docs/Using_PWM_Tools.md @@ -1,7 +1,7 @@ # Using PWM tools This document describes how to setup a PWM-controlled laser or spindle -using `output_pin` and some macros. +using `pwm_tool` and some macros. ## How does it work? @@ -26,14 +26,6 @@ so that when your host or MCU encounters an error, the tool will stop. For an example configuration, see [config/sample-pwm-tool.cfg](/config/sample-pwm-tool.cfg). -## Current Limitations - -There is a limitation of how frequent PWM updates may occur. -While being very precise, a PWM update may only occur every 0.1 seconds, -rendering it almost useless for raster engraving. -However, there exists an [experimental branch](https://github.com/Cirromulus/klipper/tree/laser_tool) with its own tradeoffs. -In long term, it is planned to add this functionality to main-line klipper. - ## Commands `M3/M4 S<value>` : Set PWM duty-cycle. Values between 0 and 255. |