Servo - attached()

Check whether the Servo variable is attached to a pin.

Syntax

servo.attached()

Parameters

  • servo: a variable of type Servo

Returns

true if the servo is attached to pin; false otherwise.

See also