File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ extern "C" {
12
12
#error "Old version of Blynk library is in use. Please replace it with the new one."
13
13
#endif
14
14
15
+ #if !defined(BLYNK_TEMPLATE_ID) || !defined(BLYNK_DEVICE_NAME)
16
+ #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
17
+ #endif
18
+
15
19
#include " BlynkState.h"
16
20
#include " ConfigStore.h"
17
21
#include " ResetButton.h"
Original file line number Diff line number Diff line change 1
1
2
2
// Fill-in information from your Blynk Template here
3
- #define BLYNK_TEMPLATE_ID " "
4
- #define BLYNK_DEVICE_NAME " "
3
+ // #define BLYNK_TEMPLATE_ID "TMPLxxxxxx "
4
+ // #define BLYNK_DEVICE_NAME "Device "
5
5
6
6
#define BLYNK_FIRMWARE_VERSION " 0.1.0"
7
7
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ extern "C" {
12
12
#error "Old version of Blynk library is in use. Please replace it with the new one."
13
13
#endif
14
14
15
+ #if !defined(BLYNK_TEMPLATE_ID) || !defined(BLYNK_DEVICE_NAME)
16
+ #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_DEVICE_NAME"
17
+ #endif
18
+
15
19
#include " BlynkState.h"
16
20
#include " ConfigStore.h"
17
21
#include " ResetButton.h"
Original file line number Diff line number Diff line change 1
1
2
2
// Fill-in information from your Blynk Template here
3
- #define BLYNK_TEMPLATE_ID " "
4
- #define BLYNK_DEVICE_NAME " "
3
+ // #define BLYNK_TEMPLATE_ID "TMPLxxxxxx "
4
+ // #define BLYNK_DEVICE_NAME "Device "
5
5
6
6
#define BLYNK_FIRMWARE_VERSION " 0.1.0"
7
7
You can’t perform that action at this time.
0 commit comments