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/G-Codes.md | |
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/G-Codes.md')
-rw-r--r-- | docs/G-Codes.md | 5 |
1 files changed, 3 insertions, 2 deletions
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 |