Searched refs:GroveMD (Results 1 – 9 of 9) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/grovemd/ |
D | grovemd.cxx | 36 GroveMD::GroveMD(int bus, uint8_t address) : in GroveMD() function in GroveMD 62 GroveMD::~GroveMD() in ~GroveMD() 68 bool GroveMD::writePacket(REG_T reg, uint8_t data1, uint8_t data2) in writePacket() 93 bool GroveMD::setMotorSpeeds(uint8_t speedA, uint8_t speedB) in setMotorSpeeds() 98 bool GroveMD::setPWMFrequencyPrescale(uint8_t freq) in setPWMFrequencyPrescale() 103 bool GroveMD::setMotorDirections(DC_DIRECTION_T dirA, DC_DIRECTION_T dirB) in setMotorDirections() 109 bool GroveMD::enableStepper(STEP_DIRECTION_T dir, uint8_t speed) in enableStepper() 152 bool GroveMD::disableStepper() in disableStepper() 162 bool GroveMD::setStepperSteps(unsigned int steps) in setStepperSteps() 182 void GroveMD::initClock() in initClock() [all …]
|
D | grovemd.h | 82 class GroveMD { 117 GroveMD(int bus=GROVEMD_I2C_BUS, 123 ~GroveMD();
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | grovemd.cxx | 37 upm::GroveMD *motors = new upm::GroveMD(GROVEMD_I2C_BUS, in main() 42 motors->setMotorDirections(upm::GroveMD::DIR_CW, upm::GroveMD::DIR_CW); in main() 48 motors->setMotorDirections(upm::GroveMD::DIR_CCW, upm::GroveMD::DIR_CCW); in main()
|
D | grovemd-stepper.cxx | 37 upm::GroveMD *motors = new upm::GroveMD(GROVEMD_I2C_BUS, in main() 49 motors->enableStepper(upm::GroveMD::STEP_DIR_CW, 10); in main() 55 motors->enableStepper(upm::GroveMD::STEP_DIR_CCW, 10); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | GroveMDSample.java | 41 upm_grovemd.GroveMD motors = new upm_grovemd.GroveMD(); in main() 45 motors.setMotorDirections(upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CW, in main() 46 upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CW); in main() 52 motors.setMotorDirections(upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CCW, in main() 53 upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CCW); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | grovemd.py | 31 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)
|
D | grovemd-stepper.py | 31 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)
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | grovemd.js | 36 my_MotorDriver_obj.setMotorDirections(groveMotorDriver_lib.GroveMD.DIR_CW, 37 groveMotorDriver_lib.GroveMD.DIR_CW); 48 my_MotorDriver_obj.setMotorDirections(groveMotorDriver_lib.GroveMD.DIR_CCW, 49 groveMotorDriver_lib.GroveMD.DIR_CCW); 78 var my_MotorDriver_obj = new groveMotorDriver_lib.GroveMD(
|
D | grovemd-stepper.js | 40 motor.enableStepper(grovemdObj.GroveMD.STEP_DIR_CW, 10); 51 motor.enableStepper(grovemdObj.GroveMD.STEP_DIR_CCW, 10); 79 var motor = new grovemdObj.GroveMD(
|