perhaps you change the line
uart1=UART(...) to
uart1=UART(..., timeout =-1, timeout_char=-1)
and, also possible, add a line after the read()
c=uart1.read(1)
if len(c) == 0: continue
ensure proper indentation
not tested.
uart1=UART(...) to
uart1=UART(..., timeout =-1, timeout_char=-1)
and, also possible, add a line after the read()
c=uart1.read(1)
if len(c) == 0: continue
ensure proper indentation
not tested.
Statistics: Posted by ghp — Tue Jan 07, 2025 7:19 pm