flexi-bot/docs/marlin/_gcode/M281.md
2023-09-05 20:38:49 +02:00

797 B

tag title brief author since requires group codes parameters example
m0281 Edit Servo Angles Set servo deploy and/or stow angles thinkyhead 2.0.0 EDITABLE_SERVO_ANGLES servos
M281
tag optional description values
P false Servo index to update / report.
tag type
index int
tag optional description values
L true Deploy angle in degrees.
tag type
degrees int
tag optional description values
U true Stow angle in degrees.
tag type
degrees int
pre code
Set 90° deploy and 0° stow angles for servo 0. M281 P0 L90 U0

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