Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dadafruitms1438.js32 if (MotorShield_lib)
34 MotorShield_lib.cleanUp();
35 MotorShield_lib = null;
40 var MotorShield_lib = require('jsupm_adafruitms1438'); variable
44 var I2CBus = MotorShield_lib.ADAFRUITMS1438_I2C_BUS;
45 var I2CAddr = MotorShield_lib.ADAFRUITMS1438_DEFAULT_I2C_ADDR;
47 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.js32 if (MotorShield_lib)
34 MotorShield_lib.cleanUp();
35 MotorShield_lib = null;
40 var MotorShield_lib = require('jsupm_adafruitms1438'); variable
43 var I2CBus = MotorShield_lib.ADAFRUITMS1438_I2C_BUS;
44 var I2CAddr = MotorShield_lib.ADAFRUITMS1438_DEFAULT_I2C_ADDR;
46 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);