You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Servo_Hardware_PWM.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ class Servo
71
71
Servo();
72
72
uint8_tattach(int pin); //attach the given pin; returns servoIndex number or 255 if too many servos
73
73
uint8_tattach(int pin, int min, int max); //attach the given pin and set the upper and lower pulse width limits; returns servoIndex number or 255 if too many servos
74
-
uint8_tattach(int pin, int min, int max, intdefault); //attach the given pin, set the upper and lower pulse width limits and set the pulse width when servo is attached; returns servoIndex number or 255 if too many servos
74
+
uint8_tattach(int pin, int min, int max, intdefaultPos); //attach the given pin, set the upper and lower pulse width limits and set the pulse width when servo is attached; returns servoIndex number or 255 if too many servos
75
75
voiddetach(); //detach the used pin
76
76
voiddetachAll(); //automatically detaches all used pins
77
77
voidwrite(int value); //write angle in degrees
@@ -81,7 +81,7 @@ class Servo
81
81
uint8_t servoPin; //pin number of the attached Servo
82
82
uint8_t min; //lower pulse width limit
83
83
uint8_t max; //upper pulse width limit
84
-
uint8_tdefault; //pulse width when servo is attached
84
+
uint8_tdefaultPos; //pulse width when servo is attached
0 commit comments