这里会显示出您选择的修订版和当前版本之间的差别。
| — |
en:arduino:libraries:servoattached [2016/12/25 22:15] (当前版本) |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | [[en:arduino:libraries:servo|Servo]] | ||
| + | ====== attached() ====== | ||
| + | |||
| + | ===== Description ===== | ||
| + | |||
| + | Check whether the Servo variable is attached to a pin. | ||
| + | ===== Syntax ===== | ||
| + | |||
| + | servo.attached() | ||
| + | ===== Parameters ===== | ||
| + | |||
| + | servo: a variable of type Servo | ||
| + | ===== Returns ===== | ||
| + | |||
| + | true if the servo is attached to pin; false otherwise. | ||
| + | ===== See also ===== | ||
| + | |||
| + | * attach() | ||
| + | * detach() | ||
| + | [[en:arduino:libraries|Reference Home]] | ||