thinkyhead

M281 - Edit Servo Angles

2.0.0 servos Set servo deploy and/or stow angles EDITABLE_SERVO_ANGLES

Description

Set or get the position of a servo. Without L or U the current values will be reported.

Usage

M281 [L<degrees>] P<index> [U<degrees>]

Parameters

[L<degrees>]

Deploy angle in degrees.

    P<index>

    Servo index to update / report.

      [U<degrees>]

      Stow angle in degrees.

        Example

        Set 90° deploy and 0° stow angles for servo 0.

        M281 P0 L90 U0