[Servo]
説明
Read the current angle of the servo (the value passed to the last call to write()).
構文
Servo servo; servo.read();
媒介変数
servo
: a variable of type Servo
戻り値
The angle of the servo is from 0 to 180 degrees.
See also
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。