replacing loops.pause -> pause, loops.forever -> forever
This commit is contained in:
@ -72,9 +72,9 @@ Steer the brick in a snake pattern for a short time.
|
||||
```block
|
||||
for (let i = 0; i < 4; i++) {
|
||||
motors.largeBC.steer(30, 30)
|
||||
loops.pause(5000)
|
||||
pause(5000)
|
||||
motors.largeBC.steer(-30, 30)
|
||||
loops.pause(5000)
|
||||
pause(5000)
|
||||
}
|
||||
motors.stopAll()
|
||||
```
|
||||
|
@ -43,9 +43,9 @@ Move the brick straight ahead and then go backward.
|
||||
|
||||
```blocks
|
||||
motors.largeAB.tank(75, 75)
|
||||
loops.pause(10000)
|
||||
pause(10000)
|
||||
motors.largeAB.tank(-55, -55)
|
||||
loops.pause(10000)
|
||||
pause(10000)
|
||||
motors.stopAll()
|
||||
```
|
||||
|
||||
@ -72,7 +72,7 @@ Run both motors in opposite directions to spin the brick around to the left.
|
||||
|
||||
```blocks
|
||||
motors.largeAB.tank(-30, 30)
|
||||
loops.pause(5000)
|
||||
pause(5000)
|
||||
motors.stopAll()
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user