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.