0

Im have a problem in loop for single bytes and send via uart in micropython.

c = b'\x00\x00\x0c\x00'
for b in c:
    uart_gps.write(b)

Error:

File "<stdin>", line 3, in <module>
TypeError: object with buffer protocol required
andtompoi
  • 59
  • 7

0 Answers0