Servo86.attached()

[Servo86]

Description

Check that the Servo object has called attach() to initialize and connect to a specified pin.

Syntax

servo.attached()

Parameters

servo: Variable of the servo type.

Returns

  • true: means it has been initialized
  • false: means not yet initialized

See also


Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Scroll to Top