aboutsummaryrefslogtreecommitdiffstats
path: root/docs/G-Codes.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r--docs/G-Codes.md5
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