ea956f1a73
* renaming up/down/click to released/pressed/bump * missing images * fixing signature issue * updated strings * white lego logo
14 lines
371 B
Markdown
14 lines
371 B
Markdown
# Three Point Turn Activity 2
|
|
|
|
```blocks
|
|
brick.buttonEnter.onEvent(ButtonEvent.Bumped, function () {
|
|
motors.largeBC.tank(75, 30)
|
|
loops.pause(1500)
|
|
motors.largeBC.tank(-30, -75)
|
|
sensors.ultrasonic4.pauseUntil(UltrasonicSensorEvent.ObjectNear);
|
|
motors.largeBC.tank(0, 0)
|
|
loops.pause(1000)
|
|
motors.largeBC.tank(50, 50)
|
|
loops.pause(3000)
|
|
})
|
|
``` |