We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf163f commit 1b72a8cCopy full SHA for 1b72a8c
examples/Node/Node.ino
@@ -1,13 +1,17 @@
1
#include <TheThingsNetwork.h>
2
#include <TheThingsNode.h>
3
4
+// Set your AppEUI and AppKey
5
const char *appEui = "0000000000000000";
6
const char *appKey = "00000000000000000000000000000000";
7
8
#define loraSerial Serial1
9
#define debugSerial Serial
10
-TheThingsNetwork ttn(loraSerial, debugSerial, TTN_FP_EU868);
11
+// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
12
+#define freqPlan REPLACE_ME
13
+
14
+TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
15
TheThingsNode *node;
16
17
enum port : byte
0 commit comments