Skip to content

Commit d2b3a37

Browse files
authored
Update readme.md
Signed-off-by: Adrian <[email protected]>
1 parent a4711f4 commit d2b3a37

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,18 @@ DirectCurrent example = { 1, 2, 3 };
3434
**Use**
3535

3636
```ino
37-
moveDirectCurrent(DirectCurrent i, int mode1, int mode2, int speed);
37+
moveDirectCurrent(int mode1, int mode2, int speed);
3838
```
3939
4040
**Description** Move the DC motor
4141
4242
**Parameters**
43-
* `i` Name defined in the setup
4443
* `mode1` Enable or disable the `input1` pin with `0` (disable) and `1` (enable)
4544
* `mode2` Enable or disable the `input2` pin with `0` (disable) and `1` (enable)
4645
* `speed` Motor speed `Max. Value` 255
4746
4847
**Example**
4948
5049
```ino
51-
moveDirectCurrent(example, 1, 0, 202);
50+
moveDirectCurrent(1, 0, 202);
5251
```

0 commit comments

Comments
 (0)