[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.
参照
ライブラリリファレンスホーム
86Duinoリファレンスのテキストは、Arduinoリファレンスを改変したもので、Creative Commons Attribution-ShareAlike 3.0ライセンスに基づいてライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。