Closed brentru closed 1 year ago
The Firmata Protocol implements a SERVO_CONFIG
message to configure a PWM-capable pin as a servo. Writing to the servo sends an extended ANALOG_MESSAGE
Reference: https://github.com/firmata/protocol/blob/master/servos.md, https://github.com/firmata/protocol/blob/master/protocol.md#extended-analog, https://github.com/firmata/arduino/blob/master/examples/ServoFirmata/ServoFirmata.ino
Provide high-level support for standard hobby servos and continuous servos using the PWM.
This API should send pulse widths (i.e: 500us to 2500us) to control the position of the servo attached to a pin.