2022-06-30 22:43:20 +01:00

9 lines
189 B
Python

import board
import busio
uart = busio.UART(board.GP12, board.GP13, baudrate=9600)
while True:
if uart.read(32) is not None:
uart.write("Hello, Bluetooth World!\n".encode())