grove.motor.i2c_motor_driver

Classes

class grove.motor.i2c_motor_driver.StepperMotor(arguments)[source]

Inheritance

digraph inheritance727fb4c246 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "StepperMotor" [URL="#grove.motor.i2c_motor_driver.StepperMotor",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }
enable(en=None)[source]

enable or disable the stepper motor

rotate(angle=None)[source]

specify the stepper motor rotating angle,

speed(rpm=None)[source]

set or get stepper motor speed & direction

class grove.motor.i2c_motor_driver.I2CStepperMotor(arguments, address=15)[source]

Inheritance

digraph inheritance4271e86cb0 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "I2CStepperMotor" [URL="#grove.motor.i2c_motor_driver.I2CStepperMotor",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "StepperMotor" -> "I2CStepperMotor" [arrowsize=0.5,style="setlinewidth(0.5)"]; "StepperMotor" [URL="#grove.motor.i2c_motor_driver.StepperMotor",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }