renaming 'set speed' to 'run' (#327)
This commit is contained in:
@ -4,11 +4,11 @@ Use this program with the Programmable Brick and Large Motor.
|
||||
|
||||
```blocks
|
||||
forever(function () {
|
||||
motors.largeA.setSpeed(30)
|
||||
motors.largeA.run(30)
|
||||
pause(100)
|
||||
motors.largeA.stop()
|
||||
music.playSoundEffectUntilDone(sounds.animalsCatPurr)
|
||||
motors.largeA.setSpeed(-30)
|
||||
motors.largeA.run(-30)
|
||||
pause(100)
|
||||
motors.largeA.stop()
|
||||
})
|
||||
|
@ -4,9 +4,9 @@ This example program combined with the small model will make a beat and rhythm o
|
||||
|
||||
```blocks
|
||||
forever(function () {
|
||||
motors.largeA.setSpeed(50)
|
||||
motors.largeA.run(50)
|
||||
pause(200)
|
||||
motors.largeA.setSpeed(100)
|
||||
motors.largeA.run(100)
|
||||
pause(200)
|
||||
})
|
||||
```
|
Reference in New Issue
Block a user