importbusioimportboardimporttimei=0u=busio.UART(tx=board.TX,rx=board.RX)whileTrue:u.write(str(i).encode("utf-8"))time.sleep(0.1)print(i,u.in_waiting)# should be the number of digitstime.sleep(0.1)print(i,u.in_waiting)# should be the number of digitsr=u.read(64+10)print(i,u.in_waiting)# should be 0print(len(r),r)i+=1