Searched refs:myHBridge (Results 1 – 2 of 2) sorted by relevance
30 myHBridge = upmL298.L298(200, 3, 4, 7, 8, 9) variable49 myHBridge.setSpeed(10) # 10 RPMs50 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)
31 myHBridge = upmL298.L298(3, 4, 7) variable51 myHBridge.setSpeed(50)52 myHBridge.setDirection(upmL298.L298.DIR_CW)53 myHBridge.enable(True)58 myHBridge.setDirection(upmL298.L298.DIR_NONE) # fast stop59 myHBridge.setDirection(upmL298.L298.DIR_CCW)62 myHBridge.setSpeed(0)63 myHBridge.enable(False)