fixing make it move

This commit is contained in:
Peli de Halleux 2018-01-18 16:47:00 -08:00
parent 511ea2374b
commit df13e40a45

View File

@ -40,8 +40,8 @@ Change the rotations to `9`.
The ``||motors:tank large B+C||`` block will run for `9` rotations when the **center** button is pressed on the EV3 brick. The motors are set for the reverse direction because they are mounted upside down in this model.
```typescript-ignore
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
```blocks
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
```
### Step 2
@ -50,9 +50,9 @@ Place a ``||motors:stop all motors||`` block under ``||motors:tank large B+C||``
The ``||motors:tank large B+C||`` block will run for `9` rotations when the **center** button is pressed on the EV3 brick then stop.
```typescript-ignore
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
motors.stopAllMotors()
```blocks
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
motors.largeBC.stop()
```
### Step 3
@ -62,9 +62,9 @@ Change the `"Hello World"` text to `"30 cm"`.
The ``||motors:tank large B+C||`` will run for `9` rotations when the **center** button is pressed on the EV3 brick then stop and display "30 cm" on the EV3 Bricks screen.
```typescript-ignore
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
motors.stopAllMotors()
```blocks
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
motors.largeBC.stop()
brick.showString("30 cm", 1)
```