Home
last modified time | relevance | path

Searched refs:AdafruitMS1438 (Results 1 – 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dadafruitms1438-stepper.cxx38 upm::AdafruitMS1438 *ms = in main()
39 new upm::AdafruitMS1438(ADAFRUITMS1438_I2C_BUS, in main()
47 ms->disableStepper(AdafruitMS1438::STEPMOTOR_M12); in main()
50 ms->stepConfig(AdafruitMS1438::STEPMOTOR_M12, 200); in main()
53 ms->setStepperSpeed(AdafruitMS1438::STEPMOTOR_M12, 10); in main()
54 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12, in main()
55 AdafruitMS1438::DIR_CW); in main()
59 ms->enableStepper(AdafruitMS1438::STEPMOTOR_M12); in main()
62 ms->stepperSteps(AdafruitMS1438::STEPMOTOR_M12, 200); in main()
69 ms->setStepperDirection(AdafruitMS1438::STEPMOTOR_M12, in main()
[all …]
Dadafruitms1438.cxx38 upm::AdafruitMS1438 *ms = in main()
39 new upm::AdafruitMS1438(ADAFRUITMS1438_I2C_BUS, in main()
48 ms->disableMotor(AdafruitMS1438::MOTOR_M3); in main()
51 ms->setMotorSpeed(AdafruitMS1438::MOTOR_M3, 50); in main()
52 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CW); in main()
57 ms->enableMotor(AdafruitMS1438::MOTOR_M3); in main()
62 ms->setMotorDirection(AdafruitMS1438::MOTOR_M3, AdafruitMS1438::DIR_CCW); in main()
67 ms->disableMotor(AdafruitMS1438::MOTOR_M3); in main()
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
Dadafruitms1438.cxx36 AdafruitMS1438::AdafruitMS1438(int bus, uint8_t address) : in AdafruitMS1438() function in AdafruitMS1438
59 AdafruitMS1438::~AdafruitMS1438() in ~AdafruitMS1438()
64 void AdafruitMS1438::initClock(STEPMOTORS_T motor) in initClock()
69 uint32_t AdafruitMS1438::getMillis(STEPMOTORS_T motor) in getMillis()
100 void AdafruitMS1438::setupPinMaps() in setupPinMaps()
115 void AdafruitMS1438::setPWMPeriod(float hz) in setPWMPeriod()
123 void AdafruitMS1438::enableMotor(DCMOTORS_T motor) in enableMotor()
128 void AdafruitMS1438::disableMotor(DCMOTORS_T motor) in disableMotor()
133 void AdafruitMS1438::enableStepper(STEPMOTORS_T motor) in enableStepper()
139 void AdafruitMS1438::disableStepper(STEPMOTORS_T motor) in disableStepper()
[all …]
Dadafruitms1438.h69 class AdafruitMS1438 {
105 AdafruitMS1438(int bus, uint8_t address = ADAFRUITMS1438_DEFAULT_I2C_ADDR);
110 ~AdafruitMS1438();
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dadafruitms1438.py32 M3Motor = upmAdafruitms1438.AdafruitMS1438.MOTOR_M3
33 MotorDirCW = upmAdafruitms1438.AdafruitMS1438.DIR_CW
34 MotorDirCCW = upmAdafruitms1438.AdafruitMS1438.DIR_CCW
38 myMotorShield = upmAdafruitms1438.AdafruitMS1438(I2CBus, I2CAddr)
Dadafruitms1438-stepper.py32 M12Motor = upmAdafruitms1438.AdafruitMS1438.STEPMOTOR_M12
33 MotorDirCW = upmAdafruitms1438.AdafruitMS1438.DIR_CW
34 MotorDirCCW = upmAdafruitms1438.AdafruitMS1438.DIR_CCW
38 myMotorShield = upmAdafruitms1438.AdafruitMS1438(I2CBus, I2CAddr)
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dadafruitms1438.js47 var M3motor = MotorShield_lib.AdafruitMS1438.MOTOR_M3;
48 var MotorDirCW = MotorShield_lib.AdafruitMS1438.DIR_CW;
49 var MotorDirCCW = MotorShield_lib.AdafruitMS1438.DIR_CCW;
53 var myMotorShield_obj = new MotorShield_lib.AdafruitMS1438(I2CBus, I2CAddr);
Dadafruitms1438-stepper.js46 var M12motor = MotorShield_lib.AdafruitMS1438.STEPMOTOR_M12;
47 var MotorDirCW = MotorShield_lib.AdafruitMS1438.DIR_CW;
48 var MotorDirCCW = MotorShield_lib.AdafruitMS1438.DIR_CCW;
52 var myMotorShield_obj = new MotorShield_lib.AdafruitMS1438(I2CBus, I2CAddr);