feat(bridge): add wifi/serial bridge runtime and UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-28 00:38:21 +12:00
parent 2cf019079e
commit 78dc8ffc77
92 changed files with 5679 additions and 1790 deletions

View File

@@ -0,0 +1,16 @@
from machine import UART, Pin
import time
#set baudrate closest to 1000000
baudrate = 921600
uart = UART(1, baudrate=baudrate, tx=Pin(2), rx=Pin(3))
print("Sending 'Hello, World!'")
uart.write(b'Hello, World!')
while True:
if uart.any():
data = uart.read()
print(data)
uart.write(data)
else:
time.sleep(0.01)