Home
last modified time | relevance | path

Searched refs:myMotorShield_obj (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dadafruitms1438-stepper.js31 myMotorShield_obj = null;
52 var myMotorShield_obj = new MotorShield_lib.AdafruitMS1438(I2CBus, I2CAddr); variable
58 myMotorShield_obj.disableStepper(M12motor);
61 myMotorShield_obj.stepConfig(M12motor, 200);
64 myMotorShield_obj.setStepperSpeed(M12motor, 10);
65 myMotorShield_obj.setStepperDirection(M12motor, MotorDirCW);
68 myMotorShield_obj.enableStepper(M12motor);
71 myMotorShield_obj.stepperSteps(M12motor, 200);
80 myMotorShield_obj.setStepperDirection(M12motor, MotorDirCCW);
81 myMotorShield_obj.stepperSteps(M12motor, 100);
[all …]
Dadafruitms1438.js31 myMotorShield_obj = null;
53 var myMotorShield_obj = new MotorShield_lib.AdafruitMS1438(I2CBus, I2CAddr); variable
59 myMotorShield_obj.setPWMPeriod(50);
62 myMotorShield_obj.disableMotor(M3motor);
65 myMotorShield_obj.setMotorSpeed(M3motor, 50);
66 myMotorShield_obj.setMotorDirection(M3motor, MotorDirCW);
70 myMotorShield_obj.enableMotor(M3motor);
75 myMotorShield_obj.setMotorDirection(M3motor, MotorDirCCW);
82 myMotorShield_obj.disableMotor(M3motor);