fixing make it move
This commit is contained in:
parent
511ea2374b
commit
df13e40a45
@ -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.
|
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
|
```blocks
|
||||||
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
|
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2
|
### 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.
|
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
|
```blocks
|
||||||
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
|
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
|
||||||
motors.stopAllMotors()
|
motors.largeBC.stop()
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 3
|
### 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 Brick’s screen.
|
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 Brick’s screen.
|
||||||
|
|
||||||
```typescript-ignore
|
```blocks
|
||||||
motors.largeBC.tankFor(-60, 60, 9, MoveUnit.Rotations)
|
motors.largeBC.tank(-60, 60, 9, MoveUnit.Rotations)
|
||||||
motors.stopAllMotors()
|
motors.largeBC.stop()
|
||||||
brick.showString("30 cm", 1)
|
brick.showString("30 cm", 1)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user