diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-07-16 14:45:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-07-25 11:39:39 -0400 |
commit | 428a8d48817646588e09258f258926e50dfdee58 (patch) | |
tree | 750aa082a2c0e95ee8726db10f5361bb0c9837ec /docs | |
parent | 122fd88c6ae6af4f5c485b7b74d3b95d8603df88 (diff) | |
download | kutter-428a8d48817646588e09258f258926e50dfdee58.tar.gz kutter-428a8d48817646588e09258f258926e50dfdee58.tar.xz kutter-428a8d48817646588e09258f258926e50dfdee58.zip |
servo: Remove servo ENABLE parameter
Allow one to disable servos via `SET_SERVO WIDTH=0` instead of using
an explicit ENABLE parameter.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Config_Changes.md | 4 | ||||
-rw-r--r-- | docs/G-Codes.md | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 70496ece..6f7e5217 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,10 @@ All dates in this document are approximate. # Changes +20200725: The servo `enable` config parameter and the SET_SERVO +`ENABLE` parameter have been removed. Update any macros to use +`SET_SERVO SERVO=my_servo WIDTH=0` to disable a servo. + 20200608: The LCD display support has changed the name of some internal "glyphs". If a custom display layout was implemented it may be necessary to update to the latest glyph names (see diff --git a/docs/G-Codes.md b/docs/G-Codes.md index 3c91ee63..0ec0460e 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -258,8 +258,9 @@ sections are enabled: The following commands are available when a "servo" config section is enabled: -- `SET_SERVO SERVO=config_name [WIDTH=<seconds>] [ENABLE=<0|1>]` -- `SET_SERVO SERVO=config_name [ANGLE=<degrees>] [ENABLE=<0|1>]` +- `SET_SERVO SERVO=config_name [ANGLE=<degrees> | WIDTH=<seconds>]`: + Set the servo position to the given angle (in degrees) or pulse + width (in seconds). Use `WIDTH=0` to disable the servo output. ## Manual stepper Commands |