Skip to content

Commit 0dd3e7e

Browse files
authored
Merge pull request #1543 from arduino/mcmchris/max-carrier/lora-tutorial-fix
[PC-1451] Max Carrier LoRaWAN tutorial update
2 parents fe7f6fe + c3910aa commit 0dd3e7e

File tree

1 file changed

+4
-4
lines changed
  • content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/connecting-to-ttn

1 file changed

+4
-4
lines changed

content/hardware/04.pro/carriers/portenta-max-carrier/tutorials/connecting-to-ttn/content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,19 @@ Upload the sketch, open the Serial Monitor and wait for the firmware update to f
106106

107107
Device provisioning is a process comparable to bank card numbering. Let's think about bank cards; bank cards numbers start with a six-digit vendor ID number that indicates who allocated and controls the card's security; the remaining digits are unique numbers associated with a specific card. Devices with LoRa® and LoRaWAN® capabilities have a similar system; the **Join Server Unique Identifier** (usually referred to as `JoinEUI`) is a number that manages the security and authorizes the device in a network, while the **Device Unique Identifier** (usually referred to as `DevEUI`) is a unique number that identifies the device. The `JoinEUI` and `DevEUI` are required to send information to TTN; the `JoinEUI` number is provided by the network (in this case TTN) while the `DevEUI` is provided by the manufacturer of the device's LoRa® module.
108108

109-
The following sketch let's you find out what is the `DevEUI` of your Portenta Max Carrier:
109+
The following sketch lets you find out what is the `DevEUI` of your Portenta Max Carrier:
110110

111111
```arduino
112112
#define PORTENTA_CARRIER
113113
#include <MKRWAN.h>
114114
115115
auto region = US915;
116116
117-
LoRaModem modem(Serial1);
117+
LoRaModem modem(SerialLoRa);
118118
119119
void setup() {
120120
Serial.begin(115200);
121-
while(!Serial1);
121+
while(!Serial);
122122
123123
if(!modem.begin(region)) {
124124
Serial.println("Failed to start the module...");
@@ -199,7 +199,7 @@ Now, let's start sending information to TTN. The following sketch enables you to
199199
200200
auto region = US915;
201201
202-
LoRaModem modem(Serial1);
202+
LoRaModem modem(SerialLoRa);
203203
204204
void setup() {
205205
Serial.begin(115200);

0 commit comments

Comments
 (0)