attached()
描述
檢查 Servo
物件已是否呼叫 attach() 初始化並關連至一指定腳位上。
語法
servo.attached()
參數
servo
:Servo
型別的變數。
回傳
true:代表已被初始化
false:代表尚未被初始化
See also
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.