Home
last modified time | relevance | path

Searched refs:myMotorDriver (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovemd-stepper.py31 myMotorDriver = upmGrovemd.GroveMD(I2C_BUS, I2C_ADDR) variable
36 myMotorDriver.configStepper(200)
39 myMotorDriver.setStepperSteps(100)
42 myMotorDriver.enableStepper(upmGrovemd.GroveMD.STEP_DIR_CW, 10)
47 myMotorDriver.setStepperSteps(100)
48 myMotorDriver.enableStepper(upmGrovemd.GroveMD.STEP_DIR_CCW, 10)
51 myMotorDriver.disableStepper()
Dgrovemd.py31 myMotorDriver = upmGrovemd.GroveMD(I2C_BUS, I2C_ADDR) variable
36 myMotorDriver.setMotorDirections(upmGrovemd.GroveMD.DIR_CW, upmGrovemd.GroveMD.DIR_CW)
37 myMotorDriver.setMotorSpeeds(127, 127)
42 myMotorDriver.setMotorDirections(upmGrovemd.GroveMD.DIR_CCW,
47 myMotorDriver.setMotorSpeeds(0, 0)