HomeSort by relevance Sort by last modified time
    Searched refs:myHBridge (Results 1 - 2 of 2) sorted by null

  /hardware/bsp/intel/peripheral/libupm/examples/python/
l298-stepper.py 30 myHBridge = upmL298.L298(200, 3, 4, 7, 8, 9)
39 # including functions from myHBridge
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)
l298.py 31 myHBridge = upmL298.L298(3, 4, 7)
40 # including functions from myHBridge
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)

Completed in 802 milliseconds