logo

uart怎么发送列表数据

2018-04-27 19:50
4
Reset

uart怎么发送列表数据

2018-04-27 20:08
I
网红小智智 星瞳科技

uart.write()可以发送bytes

data = bytearray([0xFF 0xFE 0xFF 0xFF 0x1A 0x4E])
uart.write(data)

MicroPython教程7-IO中断与回调函数<https://singtown.com/learn/582/>