chapter 9 code

This commit is contained in:
Danny Staple
2022-06-30 22:43:20 +01:00
parent 91b99a38d8
commit 5ed99330f3
11 changed files with 207 additions and 66 deletions
+8
View File
@@ -0,0 +1,8 @@
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())