I want to find...

Search

Shares

Table of Content

Servo86.release()

[Servo86]

Description

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

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

Syntax

servo.release()

Parameters

servo: Variable of the servo type.

Returns

None.

Example

#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

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.

Scroll to Top