using LPUART to forward Bluetooth messages !

This commit is contained in:
2024-08-10 03:28:37 +02:00
parent 8e3b1526aa
commit b02f4af38d
9 changed files with 94 additions and 5 deletions

13
tools/uart_in_test.py Normal file
View File

@@ -0,0 +1,13 @@
import serial
# Open the serial port
ser = serial.Serial('/dev/ttyACM1', baudrate=1000000)
# Send 10 bytes of data
data = b'01234567890123456789012345678901234567890123456789'
for i in range(10):
ser.write(data)
# Close the serial port
ser.close()