Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/src/l298/
Dl298.cxx35 L298::L298(int pwmA, int dir1, int dir2) in L298() function in L298
76 L298::L298(int stepsPerRev, int en, int i1, int i2, int i3, int i4) in L298() function in L298
141 void L298::initClock() in initClock()
146 uint32_t L298::getMillis() in getMillis()
175 L298::~L298() in ~L298()
198 void L298::setPeriodMS(int ms) in setPeriodMS()
208 void L298::enable(bool enable) in enable()
221 void L298::setSpeed(int speed) in setSpeed()
245 void L298::setDirection(L298_DIRECTION_T dir) in setDirection()
279 void L298::stepperStep() in stepperStep()
[all …]
Dl298.h69 class L298 {
88 L298(int pwm, int dir1, int dir2);
100 L298(int stepsPerRev, int en, int i1, int i2, int i3, int i4);
105 ~L298();
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dl298.cxx38 upm::L298* l298 = new upm::L298(3, 4, 7); in main()
42 l298->setDirection(upm::L298::DIR_CW); in main()
48 l298->setDirection(upm::L298::DIR_NONE); // fast stop in main()
49 l298->setDirection(upm::L298::DIR_CCW); in main()
Dl298-stepper.cxx38 upm::L298* l298 = new upm::L298(200, 3, 4, 7, 8, 9); in main()
41 l298->setDirection(upm::L298::DIR_CW); in main()
50 l298->setDirection(upm::L298::DIR_CCW); in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dl298.py31 myHBridge = upmL298.L298(3, 4, 7)
52 myHBridge.setDirection(upmL298.L298.DIR_CW)
58 myHBridge.setDirection(upmL298.L298.DIR_NONE) # fast stop
59 myHBridge.setDirection(upmL298.L298.DIR_CCW)
Dl298-stepper.py30 myHBridge = upmL298.L298(200, 3, 4, 7, 8, 9)
50 myHBridge.setDirection(upmL298.L298.DIR_CW)
61 myHBridge.setDirection(upmL298.L298.DIR_CCW)
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dl298.js32 var myHBridge_obj = new HBridge_lib.L298(3, 4, 7);
41 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CW);
48 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_NONE); // fast stop
49 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CCW);
Dl298-stepper.js31 var myHBridge_obj = new HBridge_lib.L298(200, 3, 4, 7, 8, 9);
39 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CW);
49 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CCW);