Searched refs:motor (Results 1 – 4 of 4) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/ |
D | adafruitms1438.cxx | 64 void AdafruitMS1438::initClock(STEPMOTORS_T motor) in initClock() argument 66 gettimeofday(&m_stepConfig[motor].startTime, NULL); in initClock() 69 uint32_t AdafruitMS1438::getMillis(STEPMOTORS_T motor) in getMillis() argument 77 struct timeval startTime = m_stepConfig[motor].startTime; in getMillis() 123 void AdafruitMS1438::enableMotor(DCMOTORS_T motor) in enableMotor() argument 125 m_pca9685->ledFullOff(m_dcMotors[motor].pwm, false); in enableMotor() 128 void AdafruitMS1438::disableMotor(DCMOTORS_T motor) in disableMotor() argument 130 m_pca9685->ledFullOff(m_dcMotors[motor].pwm, true); in disableMotor() 133 void AdafruitMS1438::enableStepper(STEPMOTORS_T motor) in enableStepper() argument 135 m_pca9685->ledFullOff(m_stepMotors[motor].pwmA, false); in enableStepper() [all …]
|
D | adafruitms1438.h | 118 uint32_t getMillis(STEPMOTORS_T motor); 124 void initClock(STEPMOTORS_T motor); 138 void enableMotor(DCMOTORS_T motor); 145 void disableMotor(DCMOTORS_T motor); 152 void enableStepper(STEPMOTORS_T motor); 159 void disableStepper(STEPMOTORS_T motor); 168 void setMotorSpeed(DCMOTORS_T motor, int speed); 176 void setStepperSpeed(STEPMOTORS_T motor, int speed); 184 void setMotorDirection(DCMOTORS_T motor, DIRECTION_T dir); 192 void setStepperDirection(STEPMOTORS_T motor, DIRECTION_T dir); [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | grovemd-stepper.js | 34 if (motor) 37 motor.configStepper(200); 38 motor.setStepperSteps(100); 40 motor.enableStepper(grovemdObj.GroveMD.STEP_DIR_CW, 10); 46 if (motor) 49 motor.setStepperSteps(100); 51 motor.enableStepper(grovemdObj.GroveMD.STEP_DIR_CCW, 10); 57 if (motor) 59 motor.disableStepper(); 67 if (motor) [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/grovemd/ |
D | CMakeLists.txt | 2 set (libdescription "upm grove i2c motor driver module")
|