Package nxt :: Module motor

Module motor

source code

Use for motor control

Classes
  Motor
Variables
  PORT_A = 0
  PORT_B = 1
  PORT_C = 2
  PORT_ALL = 255
  MODE_IDLE = 0
  MODE_MOTOR_ON = 1
  MODE_BRAKE = 2
  MODE_REGULATED = 4
  REGULATION_IDLE = 0
  REGULATION_MOTOR_SPEED = 1
  REGULATION_MOTOR_SYNC = 2
  RUN_STATE_IDLE = 0
  RUN_STATE_RAMP_UP = 16
  RUN_STATE_RUNNING = 32
  RUN_STATE_RAMP_DOWN = 64
  LIMIT_RUN_FOREVER = 0
  __package__ = 'nxt'