l298: Initial implementation
This was tested on the RobotBase Dual H-Bridge motor control board. There are two examples: l298-example: This example demonstrates using the class to contol one of the H-Brdges to control a DC motor. l298-stepper-example: This example demonstrates using the class to control a 4-wire dual-phase stepper motor. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com>
This commit is contained in:
committed by
John Van Drasek
parent
925260a234
commit
518d80cdcd
9
src/l298/pyupm_l298.i
Normal file
9
src/l298/pyupm_l298.i
Normal file
@@ -0,0 +1,9 @@
|
||||
%module pyupm_l298
|
||||
%include "../upm.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "l298.h"
|
||||
%{
|
||||
#include "l298.h"
|
||||
%}
|
||||
Reference in New Issue
Block a user