From df13e40a45240bfecc4782cc57a414a240512c23 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 18 Jan 2018 16:47:00 -0800 Subject: [PATCH] fixing make it move --- docs/lessons/make-it-move.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/lessons/make-it-move.md b/docs/lessons/make-it-move.md index e36a9bd1..6c8fd1a2 100644 --- a/docs/lessons/make-it-move.md +++ b/docs/lessons/make-it-move.md @@ -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 Brick’s 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) ```