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

5
src/l298/CMakeLists.txt Normal file
View File

@@ -0,0 +1,5 @@
set (libname "l298")
set (libdescription "upm l298 dual h-bridge")
set (module_src ${libname}.cxx)
set (module_h ${libname}.h)
upm_module_init()