Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/_gcode
diff options
context:
space:
mode:
authorScott Lahteine <github@thinkyhead.com>2021-09-14 06:01:15 +0300
committerScott Lahteine <github@thinkyhead.com>2021-09-14 06:15:59 +0300
commita278c222e7206590626a7fe90a137f502557e3af (patch)
treedd982a2d1913c2ccb8342d7c96b055ffad348bc7 /_gcode
parent7fabbb5952403bd60752108589017e49c9790ec6 (diff)
M282 - Detach Servo
MarlinFirmware/Marlin#22760
Diffstat (limited to '_gcode')
-rw-r--r--_gcode/M281.md1
-rw-r--r--_gcode/M282.md30
2 files changed, 31 insertions, 0 deletions
diff --git a/_gcode/M281.md b/_gcode/M281.md
index 6d861938..a505380a 100644
--- a/_gcode/M281.md
+++ b/_gcode/M281.md
@@ -4,6 +4,7 @@ title: Edit Servo Angles
brief: Set servo deploy and/or stow angles
author: thinkyhead
+since: 2.0.0
requires: EDITABLE_SERVO_ANGLES
group: servos
diff --git a/_gcode/M282.md b/_gcode/M282.md
new file mode 100644
index 00000000..a4d10601
--- /dev/null
+++ b/_gcode/M282.md
@@ -0,0 +1,30 @@
+---
+tag: m0282
+title: Detach Servo
+brief: Detach a servo until its next move
+author: thinkyhead
+
+since: 2.0.9.2
+requires: SERVO_DETACH_GCODE
+group: servos
+
+codes: [ M282 ]
+
+parameters:
+ -
+ tag: P
+ optional: false
+ description: Index of the servo to detach.
+ values:
+ -
+ tag: index
+ type: int
+
+example:
+ -
+ pre: Detach servo at index 1
+ code: M282 P1
+
+---
+
+Detach a servo, which turns off its power. The servo will be attached (powered up) before its next move.