SapFlow Probe
A low-cost HRM probe for measuring a tree's water consumption
|
Holds the persistent variables for a particular tree. More...
#include <measure.h>
Data Fields | |
struct temperature | latest |
The most recent temperature reading, measured by the measure() protothread. | |
struct temperature | reference |
The baseline temperature reading, computed by the baseline() protothread. | |
int | i |
variable used for counting iterations | |
double | flow |
Calculated sap flow. | |
double | maxtemp |
Maximum temperature recorded this cycle. | |
struct pt_sem | sem |
Semaphore for signaling new data. | |
int32_t | raw [3] |
Stores raw readout from ADC. | |
uint8_t | addr |
I2C address of this ADC. | |
struct pt | child |
Control structure for mcp3424_measure() | |
int32_t | treeID |
Identification number of this tree. | |
Holds the persistent variables for a particular tree.