File tree Expand file tree Collapse file tree 15 files changed +23
-14
lines changed
simple_logging_LearnEnviroDIY Expand file tree Collapse file tree 15 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ jobs:
149
149
150
150
- name : Deploy to github pages
151
151
if : " (github.event_name == 'release' && github.event.action == 'published') || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true')"
152
- uses : peaceiris/actions-gh-pages@v3.8 .0
152
+ uses : peaceiris/actions-gh-pages@v3.9 .0
153
153
with :
154
154
github_token : ${{ secrets.GITHUB_TOKEN }}
155
155
publish_dir : ${{ github.workspace }}/code_docs/ModularSensorsDoxygen/m.css
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const char* sketchName = "DRWI_CitSci.ino";
51
51
// Logger ID, also becomes the prefix for the name of the data file on SD card
52
52
const char * LoggerID = " XXXXX" ;
53
53
// How frequently (in minutes) to log data
54
- const uint8_t loggingInterval = 5 ;
54
+ const uint8_t loggingInterval = 15 ;
55
55
// Your logger's timezone.
56
56
const int8_t timeZone = -5 ; // Eastern Standard Time
57
57
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const char* sketchName = "DRWI_DigiLTE.ino";
51
51
// Logger ID, also becomes the prefix for the name of the data file on SD card
52
52
const char * LoggerID = " XXXXX" ;
53
53
// How frequently (in minutes) to log data
54
- const uint8_t loggingInterval = 5 ;
54
+ const uint8_t loggingInterval = 15 ;
55
55
// Your logger's timezone.
56
56
const int8_t timeZone = -5 ; // Eastern Standard Time
57
57
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const char* sketchName = "DRWI_Mayfly1.ino";
57
57
// Logger ID, also becomes the prefix for the name of the data file on SD card
58
58
const char * LoggerID = " XXXXX" ;
59
59
// How frequently (in minutes) to log data
60
- const uint8_t loggingInterval = 5 ;
60
+ const uint8_t loggingInterval = 15 ;
61
61
// Your logger's timezone.
62
62
const int8_t timeZone = -5 ; // Eastern Standard Time
63
63
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const char* sketchName = "DRWI_Mayfly1_WiFi.ino";
57
57
// Logger ID, also becomes the prefix for the name of the data file on SD card
58
58
const char * LoggerID = " XXXXX" ;
59
59
// How frequently (in minutes) to log data
60
- const uint8_t loggingInterval = 5 ;
60
+ const uint8_t loggingInterval = 15 ;
61
61
// Your logger's timezone.
62
62
const int8_t timeZone = -5 ; // Eastern Standard Time
63
63
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const char* sketchName = "DRWI_NoCellular.ino";
39
39
// Logger ID, also becomes the prefix for the name of the data file on SD card
40
40
const char * LoggerID = " XXXXX" ;
41
41
// How frequently (in minutes) to log data
42
- const uint8_t loggingInterval = 5 ;
42
+ const uint8_t loggingInterval = 15 ;
43
43
// Your logger's timezone.
44
44
const int8_t timeZone = -5 ; // Eastern Standard Time
45
45
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const char* sketchName = "DRWI_SIM7080LTE.ino";
58
58
// Logger ID, also becomes the prefix for the name of the data file on SD card
59
59
const char * LoggerID = " XXXXX" ;
60
60
// How frequently (in minutes) to log data
61
- const uint8_t loggingInterval = 5 ;
61
+ const uint8_t loggingInterval = 15 ;
62
62
// Your logger's timezone.
63
63
const int8_t timeZone = -5 ; // Eastern Standard Time
64
64
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const char* sketchName = "baro_rho_correction.ino";
53
53
// Logger ID, also becomes the prefix for the name of the data file on SD card
54
54
const char * LoggerID = " XXXXX" ;
55
55
// How frequently (in minutes) to log data
56
- const uint8_t loggingInterval = 1 ;
56
+ const uint8_t loggingInterval = 15 ;
57
57
// Your logger's timezone.
58
58
const int8_t timeZone = -5 ; // Eastern Standard Time
59
59
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ const char* sketchName = "data_saving.ino";
98
98
// Logger ID, also becomes the prefix for the name of the data file on SD card
99
99
const char * LoggerID = " XXXXX" ;
100
100
// How frequently (in minutes) to log data
101
- const uint8_t loggingInterval = 5 ;
101
+ const uint8_t loggingInterval = 15 ;
102
102
// Your logger's timezone.
103
103
const int8_t timeZone = -5 ; // Eastern Standard Time
104
104
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const char* sketchName = "logging_to MMW.ino";
51
51
// Logger ID, also becomes the prefix for the name of the data file on SD card
52
52
const char * LoggerID = " XXXXX" ;
53
53
// How frequently (in minutes) to log data
54
- const uint8_t loggingInterval = 5 ;
54
+ const uint8_t loggingInterval = 15 ;
55
55
// Your logger's timezone.
56
56
const int8_t timeZone = -5 ; // Eastern Standard Time
57
57
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const char* sketchName = "logging_to_ThingSpeak.ino";
54
54
// Logger ID, also becomes the prefix for the name of the data file on SD card
55
55
const char * LoggerID = " XXXXX" ;
56
56
// How frequently (in minutes) to log data
57
- const uint8_t loggingInterval = 5 ;
57
+ const uint8_t loggingInterval = 15 ;
58
58
// Your logger's timezone.
59
59
const int8_t timeZone = -5 ; // Eastern Standard Time
60
60
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ const char* sketchName = "menu_a_la_carte.ino";
255
255
// Logger ID, also becomes the prefix for the name of the data file on SD card
256
256
const char * LoggerID = " XXXXX" ;
257
257
// How frequently (in minutes) to log data
258
- const uint8_t loggingInterval = 5 ;
258
+ const uint8_t loggingInterval = 15 ;
259
259
// Your logger's timezone.
260
260
const int8_t timeZone = -5 ; // Eastern Standard Time
261
261
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const char* sketchName = "simple_logging.ino";
39
39
// Logger ID, also becomes the prefix for the name of the data file on SD card
40
40
const char * LoggerID = " XXXXX" ;
41
41
// How frequently (in minutes) to log data
42
- const uint8_t loggingInterval = 5 ;
42
+ const uint8_t loggingInterval = 15 ;
43
43
// Your logger's timezone.
44
44
const int8_t timeZone = -5 ; // Eastern Standard Time
45
45
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const char* sketchName = "simple_logging.ino";
39
39
// Logger ID, also becomes the prefix for the name of the data file on SD card
40
40
const char * LoggerID = " XXXXX" ;
41
41
// How frequently (in minutes) to log data
42
- const uint8_t loggingInterval = 5 ;
42
+ const uint8_t loggingInterval = 15 ;
43
43
// Your logger's timezone.
44
44
const int8_t timeZone = -5 ; // Eastern Standard Time
45
45
// NOTE: Daylight savings time will not be applied! Please use standard time!
Original file line number Diff line number Diff line change @@ -552,10 +552,19 @@ bool SDI12Sensors::addSingleMeasurementResult(void) {
552
552
while ((millis () - timerStart) < (1000 * (wait))) {
553
553
// sensor can interrupt us to let us know it is done early
554
554
if (_SDI12Internal.available ()) {
555
+ #ifdef MS_SDI12SENSORS_DEBUG_DEEP
556
+ // if we're debugging print out early response
555
557
MS_DEEP_DBG (F (" <<<" ),
556
558
_SDI12Internal.readStringUntil (' \n ' ));
557
559
_SDI12Internal.clearBuffer ();
558
560
break ;
561
+ #else
562
+ // if we're not debugging, just read the response to make
563
+ // sure it's removed from the buffer
564
+ _SDI12Internal.readStringUntil (' \n ' );
565
+ _SDI12Internal.clearBuffer ();
566
+ break ;
567
+ #endif
559
568
}
560
569
}
561
570
// Wait for anything else and clear it out
You can’t perform that action at this time.
0 commit comments