Searched refs:myMotorShield (Results 1 – 2 of 2) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | adafruitms1438-stepper.py | 38 myMotorShield = upmAdafruitms1438.AdafruitMS1438(I2CBus, I2CAddr) variable 49 myMotorShield.disableStepper(M12Motor) 63 myMotorShield.disableStepper(M12Motor) 66 myMotorShield.stepConfig(M12Motor, 200) 69 myMotorShield.setStepperSpeed(M12Motor, 10); 70 myMotorShield.setStepperDirection(M12Motor, MotorDirCW) 74 myMotorShield.enableStepper(M12Motor) 77 myMotorShield.stepperSteps(M12Motor, 200) 83 myMotorShield.setStepperDirection(M12Motor, MotorDirCCW) 84 myMotorShield.stepperSteps(M12Motor, 100)
|
D | adafruitms1438.py | 38 myMotorShield = upmAdafruitms1438.AdafruitMS1438(I2CBus, I2CAddr) variable 49 myMotorShield.disableMotor(M3Motor) 61 myMotorShield.setPWMPeriod(50) 64 myMotorShield.disableMotor(M3Motor) 67 myMotorShield.setMotorSpeed(M3Motor, 50) 68 myMotorShield.setMotorDirection(M3Motor, MotorDirCW) 72 myMotorShield.enableMotor(M3Motor) 77 myMotorShield.setMotorDirection(M3Motor, MotorDirCCW)
|