Home
last modified time | relevance | path

Searched refs:motors (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovemd-stepper.cxx37 upm::GroveMD *motors = new upm::GroveMD(GROVEMD_I2C_BUS, in main() local
43 motors->configStepper(200); in main()
46 motors->setStepperSteps(100); in main()
49 motors->enableStepper(upm::GroveMD::STEP_DIR_CW, 10); in main()
54 motors->setStepperSteps(100); in main()
55 motors->enableStepper(upm::GroveMD::STEP_DIR_CCW, 10); in main()
58 motors->disableStepper(); in main()
64 delete motors; in main()
Dgrovemd.cxx37 upm::GroveMD *motors = new upm::GroveMD(GROVEMD_I2C_BUS, in main() local
42 motors->setMotorDirections(upm::GroveMD::DIR_CW, upm::GroveMD::DIR_CW); in main()
43 motors->setMotorSpeeds(127, 127); in main()
48 motors->setMotorDirections(upm::GroveMD::DIR_CCW, upm::GroveMD::DIR_CCW); in main()
54 motors->setMotorSpeeds(0, 0); in main()
58 delete motors; in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGroveMDSample.java41 upm_grovemd.GroveMD motors = new upm_grovemd.GroveMD(); in main() local
45 motors.setMotorDirections(upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CW, in main()
47 motors.setMotorSpeeds(speed50, speed50); in main()
52 motors.setMotorDirections(upm_grovemd.GroveMD.DC_DIRECTION_T.DIR_CCW, in main()
58 motors.setMotorSpeeds(speed0, speed0); in main()
/hardware/bsp/intel/peripheral/libupm/docs/
Dchangelog.md105 * Added generic driver for stepper motors