Humidistat
Arduino firmware for a humidistat (humidity controller)
|
Read flow rate using a Omron D6F-P0010 MEMS flow sensor. More...
#include <FlowSensor.h>
Public Member Functions | |
FlowSensor (uint8_t pin) | |
Constructor. | |
double | readFlowrate () const |
Read the flow rate. | |
Private Attributes | |
const uint8_t | pin |
Static Private Attributes | |
static constexpr double | coeffs [] |
Coefficients of the polynomial approximation to the sensor response (and voltage mapping) | |
Read flow rate using a Omron D6F-P0010 MEMS flow sensor.
Definition at line 9 of file FlowSensor.h.
|
explicit |
double FlowSensor::readFlowrate | ( | ) | const |
Read the flow rate.
Definition at line 8 of file FlowSensor.cpp.
|
staticconstexprprivate |
Coefficients of the polynomial approximation to the sensor response (and voltage mapping)
Definition at line 13 of file FlowSensor.h.
|
private |
Definition at line 11 of file FlowSensor.h.