water: add C driver and example. C++ wraps C driver.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-09-22 16:42:16 -06:00
parent 29b11063ee
commit dff782a477
11 changed files with 364 additions and 18 deletions

View File

@ -73,7 +73,8 @@ typedef enum {
UPM_VOLTAGE,
UPM_WIRELESS,
UPM_STREAM,
UPM_ORP
UPM_ORP,
UPM_BINARY
} upm_sensor_t;
/* Supported IO protocols via MRAA */
@ -120,6 +121,7 @@ typedef struct _upm_sensor_ft* (*func_get_upm_sensor_ft)(upm_sensor_t sensor_typ
#include <fti/upm_orp.h>
#include <fti/upm_ec.h>
#include <fti/upm_humidity.h>
#include <fti/upm_binary.h>
#ifdef __cplusplus
}