File tree Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Expand file tree Collapse file tree 2 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ lib_deps =
17
17
bblanchon/ArduinoJson@^6.21.2
18
18
adafruit/Adafruit HTU21DF Library@^1.0.5
19
19
board_build.f_cpu = 160000000L
20
+ monitor_speed = 115200
Original file line number Diff line number Diff line change 7
7
8
8
#include " config.h"
9
9
10
- #if DEBUG
11
- #define D_SerialBegin (...) Serial.begin(__VA_ARGS__)
12
- #define D_print (...) Serial.print(__VA_ARGS__)
13
- #define D_write (...) Serial.write(__VA_ARGS__)
14
- #define D_println (...) Serial.println(__VA_ARGS__)
15
- #define D_printf (...) Serial.printf(__VA_ARGS__)
16
- #define D_timestamp () Serial.printf(" [%lu] " , millis())
17
- #else
18
- #define D_SerialBegin (bauds )
19
- #define D_print (...)
20
- #define D_write (...)
21
- #define D_println (...)
22
- #define D_printf (...)
23
- #define D_timestamp ()
24
- #endif
25
-
26
10
#ifndef ESPTEMP_VERSION
27
- #define ESPTEMP_VERSION " v1.1 " /* *< The current version of the ESPtemp firmware*/
11
+ #define ESPTEMP_VERSION " v1.2 " /* *< The current version of the ESPtemp firmware*/
28
12
#endif
29
13
30
14
#ifndef OTA_ENABLE_GPIO
51
35
#define OTA 1 /* *< Set to 1 to enable OTA waiting loop */
52
36
#endif
53
37
38
+ #if DEBUG
39
+ #define D_SerialBegin (...) Serial.begin(__VA_ARGS__)
40
+ #define D_print (...) Serial.print(__VA_ARGS__)
41
+ #define D_write (...) Serial.write(__VA_ARGS__)
42
+ #define D_println (...) Serial.println(__VA_ARGS__)
43
+ #define D_printf (...) Serial.printf(__VA_ARGS__)
44
+ #define D_timestamp () Serial.printf(" [%lu] " , millis())
45
+ #else
46
+ #define D_SerialBegin (bauds )
47
+ #define D_print (...)
48
+ #define D_write (...)
49
+ #define D_println (...)
50
+ #define D_printf (...)
51
+ #define D_timestamp ()
52
+ #endif
53
+
54
54
unsigned long startMillis;
55
55
56
56
float humidity;
You can’t perform that action at this time.
0 commit comments