Searched refs:upmGrovemd (Results 1 – 2 of 2) sorted by relevance
25 import pyupm_grovemd as upmGrovemd namespace27 I2C_BUS = upmGrovemd.GROVEMD_I2C_BUS28 I2C_ADDR = upmGrovemd.GROVEMD_DEFAULT_I2C_ADDR31 myMotorDriver = upmGrovemd.GroveMD(I2C_BUS, I2C_ADDR)36 myMotorDriver.setMotorDirections(upmGrovemd.GroveMD.DIR_CW, upmGrovemd.GroveMD.DIR_CW)42 myMotorDriver.setMotorDirections(upmGrovemd.GroveMD.DIR_CCW,43 upmGrovemd.GroveMD.DIR_CCW)
25 import pyupm_grovemd as upmGrovemd namespace27 I2C_BUS = upmGrovemd.GROVEMD_I2C_BUS28 I2C_ADDR = upmGrovemd.GROVEMD_DEFAULT_I2C_ADDR31 myMotorDriver = upmGrovemd.GroveMD(I2C_BUS, I2C_ADDR)42 myMotorDriver.enableStepper(upmGrovemd.GroveMD.STEP_DIR_CW, 10)48 myMotorDriver.enableStepper(upmGrovemd.GroveMD.STEP_DIR_CCW, 10)