attached()

描述

检查 Servo 物件已是否呼叫 attach() 初始化并关连至一指定脚位上。

语法


servo.attached()

参数

servoServo 型别的变数。

回传

true:代表已被初始化
false:代表尚未被初始化

See also

attach()
detach()


程式参考主页面

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.