Servo86 Builder

[Servo86]

説明

Initializes the Servo86 class.

Syntax

Servo myservo

Parameters

None.

Example

#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() {}

See also


Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール