dfrph: Initial implementation

The driver implements support for the DFRobot pH sensors.  It was
tested with both the standard and Pro versions, calibrated with
standard buffer solutions at pH 4.01 and pH 7.0.

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 13:21:32 -07:00
committed by Abhishek Malik
parent db721845db
commit 255d6cbe86
10 changed files with 440 additions and 0 deletions

View File

@ -152,6 +152,7 @@ add_executable (urm37-example urm37.cxx)
add_executable (urm37-uart-example urm37-uart.cxx)
add_executable (adxrs610-example adxrs610.cxx)
add_executable (bma220-example bma220.cxx)
add_executable (dfrph-example dfrph.cxx)
include_directories (${PROJECT_SOURCE_DIR}/src/hmc5883l)
include_directories (${PROJECT_SOURCE_DIR}/src/grove)
@ -268,6 +269,7 @@ include_directories (${PROJECT_SOURCE_DIR}/src/xbee)
include_directories (${PROJECT_SOURCE_DIR}/src/urm37)
include_directories (${PROJECT_SOURCE_DIR}/src/adxrs610)
include_directories (${PROJECT_SOURCE_DIR}/src/bma220)
include_directories (${PROJECT_SOURCE_DIR}/src/dfrph)
target_link_libraries (hmc5883l-example hmc5883l ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (groveled-example grove ${CMAKE_THREAD_LIBS_INIT})
@ -421,3 +423,4 @@ target_link_libraries (urm37-example urm37 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (urm37-uart-example urm37 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (adxrs610-example adxrs610 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (bma220-example bma220 ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (dfrph-example dfrph ${CMAKE_THREAD_LIBS_INIT})