SapFlow Probe
A low-cost HRM probe for measuring a tree's water consumption
sd_log.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <SPI.h>
4
#include <SdFat.h>
5
#include <sdios.h>
//for ArduinoOutStream
6
#include "
pinout.h
"
7
12
static
ArduinoOutStream
cout
(Serial);
13
14
static
SdFat
sd
;
15
28
String
newfile
( String fname, String suffix=
".csv"
);
newfile
String newfile(String fname, String suffix=".csv")
Avoids file conflicts by renaming.
Definition:
sd_log.cpp:5
cout
static ArduinoOutStream cout(Serial)
Allows use of streams to print to Serial via cout.
sd
static SdFat sd
File system object.
Definition:
sd_log.h:14
pinout.h
sd_log.h
Generated by
1.8.17