diff options
-rw-r--r-- | datalog.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,6 +9,11 @@ const int mySD_SCLK=14; const int mySD_MISO=2; const int mySD_MOSI=15; +/* + we write fixed-length CSV lines because, at some point in the + future, I may need to seek "10 measurements back" or something like + that; also, it's easier to read + */ // 12345, 12345, 12345, 12345, 123456, 123456, 123456, 123456, 12345\n const char csvHeader[]=" secs, co2, temp, humid, pm1, pm2.5, pm4, pm10, batt\n"; const char csvFormat[]="% 5lu, % 5u, % 5.1f, % 5.1f, % 6.1f, % 6.1f, % 6.1f, % 6.1f, % 5.2f\n"; |