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

Update main_template.py

parent a7c4f833
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ dev_eui = ubinascii.unhexlify('----------------') # replace the dash by the DevE
pycom.rgbled(0xff0000) #red
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868)
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868, device_class=LoRa.CLASS_C)
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