dfrorp: Initial implementation

This module implements support for the DFRobot Analog ORP
(Oxidation/Reduction Potential) Meter.

It requires 5.0 volts, but the more accurate the voltage specified (to
the constructor), the more accurate the meter (paraphrased from the
wiki).

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-08-31 18:22:24 -06:00
committed by Noel Eck
parent 2a7ca8e51d
commit dcb4e83251
19 changed files with 1186 additions and 1 deletions

View File

@ -70,7 +70,8 @@ typedef enum {
UPM_VIDEO,
UPM_VOLTAGE,
UPM_WIRELESS,
UPM_STREAM
UPM_STREAM,
UPM_ORP
} upm_sensor_t;
/* Supported IO protocols via MRAA */
@ -114,6 +115,7 @@ typedef struct _upm_sensor_ft* (*func_get_upm_sensor_ft)(upm_sensor_t sensor_typ
#include <fti/upm_moisture.h>
#include <fti/upm_light.h>
#include <fti/upm_stream.h>
#include <fti/upm_orp.h>
#ifdef __cplusplus
}