pxt-ev3/docs/reference/motors.md
2018-03-28 09:04:28 -07:00

397 B

Motors

Motion

motors.largeA.run(50)
motors.largeAB.tank(50, 50)
motors.largeAB.steer(0, 50)
motors.largeA.pauseUntilReady()
motors.largeA.setBrake(false)
motors.largeA.setInverted(true)
motors.largeA.setRegulated(false)
motors.largeA.stop()
motors.largeA.reset()
motors.stopAll()

Counters

motors.largeA.speed()
motors.largeA.angle()
motors.largeA.clearCounts()