Projectupdate1 (#325)

* integrating test lesson from lego

* adding side card annotations
This commit is contained in:
Peli de Halleux
2018-02-14 08:56:12 -08:00
committed by GitHub
parent d6cbbcc3d9
commit 523c507c35
30 changed files with 404 additions and 223 deletions

View File

@ -12,7 +12,7 @@ motors.largeA.setInverted(true)
motors.largeA.setRegulated(false)
motors.largeA.stop()
motors.largeA.reset()
motors.stopAllMotors()
motors.stopAll()
```
## Counters

View File

@ -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

View File

@ -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

View File

@ -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