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:
Jon Trulson
2015-02-20 17:49:56 -07:00
committed by John Van Drasek
parent 925260a234
commit 518d80cdcd
10 changed files with 822 additions and 0 deletions

8
src/l298/jsupm_l298.i Normal file
View File

@@ -0,0 +1,8 @@
%module jsupm_l298
%include "../upm.i"
%{
#include "l298.h"
%}
%include "l298.h"