Skip to content

Commit 82a5efe

Browse files
authored
Update readme.md
Signed-off-by: Adrian <[email protected]>
1 parent 8a11d2c commit 82a5efe

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
### Setup
1717

1818
```ino
19-
ServoMotor [name] = { int servo, int angle };
19+
ServoMotor [name] = { int servo };
2020
```
2121
**Parameters**
2222
@@ -27,20 +27,19 @@ ServoMotor [name] = { int servo, int angle };
2727
**Example**
2828
2929
```ino
30-
ServoMotor example = {9, 27};
30+
ServoMotor example = 9;
3131
```
3232

3333
### Use
3434

3535
```ino
36-
Servo.move(Servo i, int angle);
36+
Servo.move(int angle);
3737
```
3838

3939
**Description** Move the Servo
4040

4141
**Parameters**
4242
* `Servo [ before the word "move" ]` Name of the defined `Servo` class
43-
* `i` Name of the defined `Servo` class
4443
* `angle` Angle to rotate
4544

4645
**Example**

0 commit comments

Comments
 (0)