Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/examples/python/
Dl298-stepper.py30 myHBridge = upmL298.L298(200, 3, 4, 7, 8, 9) variable
49 myHBridge.setSpeed(10) # 10 RPMs
50 myHBridge.setDirection(upmL298.L298.DIR_CW)
51 myHBridge.enable(True)
55 myHBridge.stepperSteps(200)
61 myHBridge.setDirection(upmL298.L298.DIR_CCW)
62 myHBridge.stepperSteps(100)
65 myHBridge.enable(False)
Dl298.py31 myHBridge = upmL298.L298(3, 4, 7) variable
51 myHBridge.setSpeed(50)
52 myHBridge.setDirection(upmL298.L298.DIR_CW)
53 myHBridge.enable(True)
58 myHBridge.setDirection(upmL298.L298.DIR_NONE) # fast stop
59 myHBridge.setDirection(upmL298.L298.DIR_CCW)
62 myHBridge.setSpeed(0)
63 myHBridge.enable(False)