@@ -116,18 +116,18 @@ board.analogWrite(11) #Set analog value (PWM) based on analog measurement
116116** Servo Library Functionality**
117117Support is included for up to 8 servos.
118118
119- - ` Arduino.Servo .attach(pin, min = 544, max = 2400) ` Create servo instance. Only 8 servos can be used at one time.
120- - ` Arduino.Servo .read(pin) ` Returns the angle of the servo attached to the specified pin
121- - ` Arduino.Servo .write(pin, angle) ` Move an attached servo on a pin to a specified angle
122- - ` Arduino.Servo .writeMicroseconds(pin, uS) ` Write a value in microseconds to the servo on a specified pin
123- - ` Arduino.Servo .detach(pin) ` Detaches the servo on the specified pin
119+ - ` Arduino.Servos .attach(pin, min = 544, max = 2400) ` Create servo instance. Only 8 servos can be used at one time.
120+ - ` Arduino.Servos .read(pin) ` Returns the angle of the servo attached to the specified pin
121+ - ` Arduino.Servos .write(pin, angle) ` Move an attached servo on a pin to a specified angle
122+ - ` Arduino.Servos .writeMicroseconds(pin, uS) ` Write a value in microseconds to the servo on a specified pin
123+ - ` Arduino.Servos .detach(pin) ` Detaches the servo on the specified pin
124124
125125``` python
126126# Servo example
127- board.Servo .attach(9 ) # declare servo on pin 9
128- board.Servo .write(9 , 0 ) # move servo on pin 9 to 0 degrees
129- print board.Servo .read(9 ) # should be 0
130- board.Servo .detach(9 ) # free pin 9
127+ board.Servos .attach(9 ) # declare servo on pin 9
128+ board.Servos .write(9 , 0 ) # move servo on pin 9 to 0 degrees
129+ print board.Servos .read(9 ) # should be 0
130+ board.Servos .detach(9 ) # free pin 9
131131```
132132
133133** Software Serial Functionality**
0 commit comments