Firmata Servo Channel

Description

Servo channel on a Firmata Device

Signature

iochannel/firmata_servo

Required Parameters

pin_number

Example:8

Pin number

value

Variable from which to read servo values. The value must be between 0 and 180 (inclusive) and indicates the desired shaft angle or speed of the servo.

Optional Parameters

min_pulse_width

Default:544

Pulse width (in microseconds) corresponding to the minimum (0-degree) angle on the servo

max_pulse_width

Default:2400

Pulse width (in microseconds) corresponding to the maximum (180-degree) angle on the servo

Placement

Allowed at top level: No
Allowed parent: Firmata Device