urm37: Initial implementation

This driver was tested with the DFRobot URM37 Ultrasonic Ranger, V4.
Both UART and analog access modes are supported.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Jon Trulson
2015-10-15 11:03:40 -07:00
committed by Abhishek Malik
parent 6e095826d3
commit 639f99691b
13 changed files with 898 additions and 0 deletions

View File

@ -148,6 +148,8 @@ add_executable (grovegprs-example grovegprs.cxx)
add_executable (lm35-example lm35.cxx)
add_executable (micsv89-example micsv89.cxx)
add_executable (xbee-example xbee.cxx)
add_executable (urm37-example urm37.cxx)
add_executable (urm37-uart-example urm37-uart.cxx)
include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
include_directories (${PROJECT_SOURCE_DIR}/src/grove)
@ -261,6 +263,7 @@ include_directories (${PROJECT_SOURCE_DIR}/src/grovegprs)
include_directories (${PROJECT_SOURCE_DIR}/src/lm35)
include_directories (${PROJECT_SOURCE_DIR}/src/micsv89)
include_directories (${PROJECT_SOURCE_DIR}/src/xbee)
include_directories (${PROJECT_SOURCE_DIR}/src/urm37)
target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT})
@ -410,3 +413,5 @@ target_link_libraries (grovegprs-example grovegprs ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (lm35-example lm35 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (micsv89-example micsv89 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (xbee-example xbee ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (urm37-example urm37 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (urm37-uart-example urm37 ${CMAKE_THREAD_LIBS_INIT})