adafruitms1438: Initial implementation
The library implements support for the Adafruit MotorShield 1438: http://www.adafruit.com/products/1438 This shield supports 4 DC motors or 2 Stepper motors. It makes use of the pca9685 UPM library, and therefore requires that PR #123 and PR #134 are merged first: PR 123: pkgconfig.in: allow a module to specify dependencies on another module PR 134: pca9685: Initial implementation Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Zion Orent <zorent@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
committed by
Mihai Tudor Panu
parent
8ece990ce9
commit
5fac6e9811
10
src/adafruitms1438/CMakeLists.txt
Normal file
10
src/adafruitms1438/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
set (libname "adafruitms1438")
|
||||
set (libdescription "upm module for the Adafruit Motor Shield 1438")
|
||||
set (module_src ${libname}.cxx)
|
||||
set (module_h ${libname}.h)
|
||||
set (reqlibname "upm-pca9685")
|
||||
include_directories("../pca9685")
|
||||
upm_module_init()
|
||||
target_link_libraries(${libname} pca9685)
|
||||
swig_link_libraries (jsupm_${libname} -lupm-pca9685 ${MRAA_LIBRARIES} ${NODE_LIBRARIES})
|
||||
swig_link_libraries (pyupm_${libname} -lupm-pca9685 ${MRAA_LIBRARIES} ${NODE_LIBRARIES})
|
||||
Reference in New Issue
Block a user