attached()

描述

檢查該物件是否已經有指定伺服馬達信號輸出腳位。

語法


servo.attached()

參數

無參數

回傳

bool:如果已有指定腳位則回傳 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.