Servo
Check whether the Servo variable is attached to a pin.
servo.attached()
servo: a variable of type Servo
true if the servo is attached to pin; false otherwise.
Reference Home