attached()

描述

檢查此 AIServo 物件是否已被 attach() 初始化。

語法


servo.attached()

參數

servoAIServo 型別的變數。

回傳

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.