VMUINT8 attach( int pin );
Attaches a servo motor to a digital pin. Only digital pins supporting PWM (D3, D9) can use this function.
The channel number, or
0: Failed.
#include <Servo.h> Servo myservo; void setup() { myservo.attach(9); } void loop() { }
Servo.h
Servo Class