pxt-ev3/docs/tutorials/spin-turn.md
Galen Nickel 7e9cc791ec Some edits for the new sensor/motor examples (#901)
* Some edits for the new sensor/motor examples

* article typo

* dark and bright

* fix block styling

* I like 'on'

* more block styling
2019-09-02 04:20:42 -07:00

562 B

Spin Turn

A spin turn happens when a EV3 Driving Base turns, or rotates, on a single spot by spinning both wheels, but with each turning in opposite directions.

You can make a turn happen with either a ||motors:tank|| or a ||motors:steer|| block.

forever(function() {
    motors.largeBC.tank(50, -50, 2, MoveUnit.Rotations)
    motors.largeBC.tank(-50, 50, 2, MoveUnit.Rotations)
})