---
tag: m0280
title: Servo Position
brief: Set/report a servo position.
author: thinkyhead

group: servos
requires: NUM_SERVOS>0

codes: [ M280 ]
related: [ M281, M282 ]

notes: Requires `NUM_SERVOS` of 1 or more.

parameters:

- tag: P
  optional: false
  description: Servo index to set/report
  values:
  - tag: index
    type: int

- tag: S
  optional: false
  description: Servo position to set. Omit to read the current position.
  values:
  - tag: pos
    type: int

---

Set/report the position of a servo.
