mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user