---
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.
