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

Update main_template.py

parent 3b3f07a8
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ pycom.rgbled(0xff0000) #red
time.sleep(1)
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868, device_class=LoRa.CLASS_C)
print('DevEUI : ', binascii.hexlify(lora.mac()).upper())
lora.nvram_restore() #if there is nothing to restore it will return a False
connect_to_ttn(lora)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment