Skip to content

Commit 6952d34

Browse files
author
Logan Edwards
committed
Update payload variable in send function
1 parent 0f2c39f commit 6952d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lorawan_sensing_network/lora_device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@
8080
# Send the packet data
8181
print('Sending data...')
8282
LED.value = True
83-
rfm9x.send(bme280_data)
83+
rfm9x.send(bme280_data_bytes)
8484
print('Sent data!')
8585
LED.value = False
8686

8787
# Wait to send the packet again
8888
time.sleep(SENSOR_SEND_DELAY * 60)
89-
89+

0 commit comments

Comments
 (0)