I want to find...

検索

Shares

Table of Content

Servo86.release()

[Servo86]

説明

Release the servo power and put the servo in the disengaged state.

When run() または write() または writeMicroseconds() is called, the servo will be powered up again.

構文

servo.release()

媒介変数

servo: Variable of the servo type.

戻り値

なし

#include <Servo86.h>
 
Servo myservo;
 
void setup()
{
   myservo.attach(9);
   myservo.write(1500); // turn the servo to the initial position of 1500us
   delay(5000); // delay 5 seconds
   myservo.release(); // release the servo
}
 
void loop() {}

See also


Libraries Reference Home

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

上部へスクロール