renaming 'set speed' to 'run' (#327)

This commit is contained in:
Peli de Halleux
2018-02-19 07:35:08 -08:00
committed by GitHub
parent 3b6cfed5b2
commit fad4ca98db
41 changed files with 177 additions and 177 deletions

View File

@ -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()
})

View File

@ -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)
})
```