File tree Expand file tree Collapse file tree 8 files changed +24
-9
lines changed Expand file tree Collapse file tree 8 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 1
1
// 34567890123456789012345678901234567890123456789012345678901234567890123456
2
2
3
- #define ARDUINOJSON_ENABLE_COMMENTS 1
4
- #include < ArduinoJson.h> // JSON config file functions
3
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
4
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
5
+ #include < ArduinoJson.h> // JSON config file functions
5
6
#include " globals.h"
6
7
7
8
extern Adafruit_Arcada arcada;
Original file line number Diff line number Diff line change @@ -235,7 +235,9 @@ extern float screen2map(int in);
235
235
extern float map2screen (int in );
236
236
237
237
// Functions in user.cpp
238
- #include <ArduinoJson.h> // JSON config file functions
238
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
239
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
240
+ #include <ArduinoJson.h> // JSON config file functions
239
241
extern void user_setup (void );
240
242
extern void user_setup (StaticJsonDocument < 2048 > & doc );
241
243
extern void user_loop (void );
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ void user_setup(void) {
17
17
18
18
// Called once after the processing of the configuration file. This allows
19
19
// user configuration to also be done based on the config file.
20
- #include < ArduinoJson.h> // JSON config file functions
20
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
21
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
22
+ #include < ArduinoJson.h> // JSON config file functions
21
23
void user_setup (StaticJsonDocument<2048 > &doc) {
22
24
}
23
25
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ void user_setup(void) {
62
62
63
63
// Called once after the processing of the configuration file. This allows
64
64
// user configuration to also be done based on the config file.
65
- #include <ArduinoJson.h> // JSON config file functions
65
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
66
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
67
+ #include <ArduinoJson.h> // JSON config file functions
66
68
void user_setup(StaticJsonDocument<2048> &doc) {
67
69
}
68
70
Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ void user_setup(void) {
40
40
41
41
// Called once after the processing of the configuration file. This allows
42
42
// user configuration to also be done based on the config file.
43
- #include <ArduinoJson.h> // JSON config file functions
43
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
44
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
45
+ #include <ArduinoJson.h> // JSON config file functions
44
46
void user_setup(StaticJsonDocument<2048> &doc) {
45
47
}
46
48
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ long firstPixelHue = 0;
16
16
17
17
// Called once after the processing of the configuration file. This allows
18
18
// user configuration to also be done based on the config file.
19
- #include <ArduinoJson.h> // JSON config file functions
19
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
20
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
21
+ #include <ArduinoJson.h> // JSON config file functions
20
22
void user_setup(StaticJsonDocument<2048> &doc) {
21
23
}
22
24
Original file line number Diff line number Diff line change @@ -247,7 +247,9 @@ void user_setup(void) {
247
247
248
248
// Called once after the processing of the configuration file. This allows
249
249
// user configuration to also be done based on the config file.
250
- #include <ArduinoJson.h> // JSON config file functions
250
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
251
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
252
+ #include <ArduinoJson.h> // JSON config file functions
251
253
void user_setup(StaticJsonDocument<2048> &doc) {
252
254
}
253
255
Original file line number Diff line number Diff line change 28
28
// Button Z: eyes blink
29
29
// BOTH buttons: eyes are both wide AND blinking, and the colors change to red
30
30
31
- #include <ArduinoJson.h> // JSON config file functions
31
+ #define ARDUINOJSON_ENABLE_COMMENTS 1 // ARDUINOJSON_ENABLE_COMMENTS must be set to 1 before including the library.
32
+ // The same value of ARDUINOJSON_ENABLE_COMMENTS must be set in each compilation unit.
33
+ #include <ArduinoJson.h> // JSON config file functions
32
34
#include <WiiChuck.h>
33
35
#include <Adafruit_NeoPixel.h>
34
36
#include "globals.h"
You can’t perform that action at this time.
0 commit comments