[Servo86]
描述
Initializes the Servo86 class.
語法
Servo myservo
參數
無
範例
#include <Servo86.h> Servo myservo; // initialize myservo void setup() { myservo.attach(9); // set pin 9 as Servo pin myservo.write(1500); // start the servo and go to 1500us angle } void loop() {}
參考
函式庫參考主頁面
86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。