Skip to content

Commit

Permalink
M282 - Detach Servo
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Sep 14, 2021
1 parent 7fabbb5 commit a278c22
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions _gcode/M281.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
30 changes: 30 additions & 0 deletions _gcode/M282.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit a278c22

Please sign in to comment.