Update payload variable in send function
@@ -80,7 +80,7 @@ while True:
# Send the packet data
print('Sending data...')
LED.value = True
- rfm9x.send(bme280_data)
+ rfm9x.send(bme280_data_bytes)
print('Sent data!')
LED.value = False
