typecasting ser_data to bytes

This commit is contained in:
Paul 2024-01-08 16:41:17 +01:00
parent 6843dc9714
commit c68c360abf
1 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,6 @@ while True:
pass
else:
print(f'Received serial data: {ser_data}')
lora.send_to_wait(ser_data, 255, retries=2)
lora.send_to_wait(bytes(ser_data), 255, retries=2)
socat_proc.kill()