[Servo86]
Description
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
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.