Skip to content
Snippets Groups Projects
Commit 20971d8c authored by LANGLAIS Charlotte's avatar LANGLAIS Charlotte
Browse files

Update main_template.py

parent b9c2ec29
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ time.sleep(1)
# configure the parameters of LoRaWAN, authorize adaptive datarate and choose a CLASS C device
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868, adr=True, device_class=LoRa.CLASS_C, adr=False)
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868, device_class=LoRa.CLASS_C, adr=False)
print('DevEUI : ', binascii.hexlify(lora.mac()).upper())
lora.nvram_restore() #if there is nothing to restore it will return a False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment