Searched refs:myHBridge_obj (Results 1 – 2 of 2) sorted by relevance
31 var myHBridge_obj = new HBridge_lib.L298(200, 3, 4, 7, 8, 9); variable36 myHBridge_obj.goForward = function()38 myHBridge_obj.setSpeed(10); // 10 RPMs39 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CW);40 myHBridge_obj.enable(true);43 myHBridge_obj.stepperSteps(200);46 myHBridge_obj.reverseDirection = function()49 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CCW);50 myHBridge_obj.stepperSteps(100);53 myHBridge_obj.stop = function()[all …]
32 var myHBridge_obj = new HBridge_lib.L298(3, 4, 7); variable37 myHBridge_obj.goForward = function()40 myHBridge_obj.setSpeed(50);41 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CW);42 myHBridge_obj.enable(true);45 myHBridge_obj.reverseDirection = function()48 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_NONE); // fast stop49 myHBridge_obj.setDirection(HBridge_lib.L298.DIR_CCW);52 myHBridge_obj.stop = function()54 myHBridge_obj.setSpeed(0);[all …]