pxt-ev3/docs/coding/three-point-turn-1.md

12 lines
271 B
Markdown
Raw Normal View History

# Three Point Turn Activity 1
```blocks
brick.buttonEnter.onEvent(ButtonEvent.Bumped, function () {
motors.largeBC.tank(75, 30)
loops.pause(1500)
motors.largeBC.tank(-30, -75)
loops.pause(1000)
motors.largeBC.tank(50, 50)
loops.pause(3000)
})
```