uart.write(code.payload())错误,该如何写啊
请参考教程 <http://book.openmv.cc/MCU/serial1.html>
你要把代码,错误提示,都发出来,才能解决问题。