diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-01-13 11:20:19 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-01-23 20:04:03 -0500 |
commit | fd2feff67df65c559cafc8fc5f2fd8601355e81a (patch) | |
tree | 35001c58cddd233bf1689ef284e76a8e3d9d2a60 /docs/Config_Reference.md | |
parent | 1baa45913ffd05a808d5d9ea0ae0161ebbaff247 (diff) | |
download | kutter-fd2feff67df65c559cafc8fc5f2fd8601355e81a.tar.gz kutter-fd2feff67df65c559cafc8fc5f2fd8601355e81a.tar.xz kutter-fd2feff67df65c559cafc8fc5f2fd8601355e81a.zip |
pwm_cycle_time: New module for output pins with dynamic cycle times
Remove support for changing the cycle time of pwm pins from the
output_pin module. Use a new pwm_cycle_time module that supports
setting dynamic cycle times. This simplifies the output_pin code and
low-level pin update code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Config_Reference.md')
-rw-r--r-- | docs/Config_Reference.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index 226b7a13..3b2f1770 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -3153,6 +3153,24 @@ pin: # See the "output_pin" section for the definition of these parameters. ``` +### [pwm_cycle_time] + +Run-time configurable output pins with dynamic pwm cycle timing (one +may define any number of sections with an "pwm_cycle_time" prefix). +Pins configured here will be setup as output pins and one may modify +them at run-time using "SET_PIN PIN=my_pin VALUE=.1 CYCLE_TIME=0.100" +type extended [g-code commands](G-Codes.md#pwm_cycle_time). + +``` +[pwm_cycle_time my_pin] +pin: +#value: +#shutdown_value: +#cycle_time: 0.100 +#scale: +# See the "output_pin" section for information on these parameters. +``` + ### [static_digital_output] Statically configured digital output pins (one may define any number |