servo.attached()

[Servo]

説明

Check whether the Servo variable is attached to a pin.

Syntax

Servo servo;

servo.attached();

Parameters

servo: a variable of type Servo

Returns

true if the servo is attached to pin; false otherwise.

See also


Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール