headings
This commit is contained in:
4
640.md
4
640.md
@@ -99,10 +99,14 @@ We'll start with the main command to stop the motor
|
|||||||
|
|
||||||
##### off()
|
##### off()
|
||||||
|
|
||||||
|
The off command will switch off the motor and apply the brakes
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
m1.off()
|
m1.off()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### setMotorSpeed()
|
||||||
|
|
||||||
We can also stop the motor by using the second command and passing a speed of 0
|
We can also stop the motor by using the second command and passing a speed of 0
|
||||||
|
|
||||||
``` python
|
``` python
|
||||||
|
|||||||
Reference in New Issue
Block a user