Skip to content

Commit 2f59e27

Browse files
committed
IO: Tweaks to SoftwareServo JavaDoc
1 parent 29418ac commit 2f59e27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

java/libraries/io/src/processing/io/SoftwareServo.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public void attach(int pin) {
8383

8484

8585
/**
86-
* Attaches a servo motor to a GPIO pin
87-
* @param pin GPIO pin
86+
* Attaches a servo motor to a GPIO pin using custom pulse widths
8887
* @param minPulse minimum pulse width in microseconds (default: 544, same as on Arduino)
8988
* @param maxPulse maximum pulse width in microseconds (default: 2400, same as on Arduino)
9089
* @webref
@@ -98,7 +97,7 @@ public void attach(int pin, int minPulse, int maxPulse) {
9897

9998

10099
/**
101-
* Move a servo motor to a given orientation
100+
* Moves a servo motor to a given orientation
102101
* @param angle angle in degrees (controls speed and direction on continuous-rotation servos)
103102
* @webref
104103
*/

0 commit comments

Comments
 (0)