Projectupdate1 (#325)
* integrating test lesson from lego * adding side card annotations
This commit is contained in:
@ -12,7 +12,7 @@ motors.largeA.setInverted(true)
|
||||
motors.largeA.setRegulated(false)
|
||||
motors.largeA.stop()
|
||||
motors.largeA.reset()
|
||||
motors.stopAllMotors()
|
||||
motors.stopAll()
|
||||
```
|
||||
## Counters
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
Stops all motors currently running on the brick.
|
||||
|
||||
```sig
|
||||
motors.stopAllMotors();
|
||||
motors.stopAll();
|
||||
```
|
||||
|
||||
The motors stops but any motion caused from previously running the motors continues until it runs down. If you are driving your brick and then stop the motors, it will coast for awhile before stopping.
|
||||
@ -15,7 +15,7 @@ Tank the @boardname@ forward at half speed for 5 seconds and then stop.
|
||||
```blocks
|
||||
motors.largeAB.tank(50, 50);
|
||||
loops.pause(5000);
|
||||
motors.stopAllMotors();
|
||||
motors.stopAll();
|
||||
```
|
||||
|
||||
## See also
|
@ -76,7 +76,7 @@ for (let i = 0; i < 4; i++) {
|
||||
motors.largeBC.steer(-30, 30)
|
||||
loops.pause(5000)
|
||||
}
|
||||
motors.stopAllMotors()
|
||||
motors.stopAll()
|
||||
```
|
||||
|
||||
## See also
|
||||
|
@ -46,7 +46,7 @@ motors.largeAB.tank(75, 75)
|
||||
loops.pause(10000)
|
||||
motors.largeAB.tank(-55, -55)
|
||||
loops.pause(10000)
|
||||
motors.stopAllMotors()
|
||||
motors.stopAll()
|
||||
```
|
||||
|
||||
### Slip steer
|
||||
@ -73,7 +73,7 @@ Run both motors in opposite directions to spin the brick around to the left.
|
||||
```blocks
|
||||
motors.largeAB.tank(-30, 30)
|
||||
loops.pause(5000)
|
||||
motors.stopAllMotors()
|
||||
motors.stopAll()
|
||||
```
|
||||
|
||||
## See also
|
||||
|
Reference in New Issue
Block a user