read()

描述

读取最后一次使用 write() 写给伺服马达的角度值。

语法


servo.read()

参数

无参数

回传

int:最后一次 write() 写给伺服马达的角度值

See also

write()


函式库参考主页面

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.