def mirobot_finish_moving():
inByte = 0
print('start')
while inByte != '<':
if uart.any() > 0:
inByte = uart.read()
print(inByte)
print('okay')
##收的数据是<ABCDEFGH buyer>
def mirobot_finish_moving():
inByte = 0
print('start')
while inByte != '<':
if uart.any() > 0:
inByte = uart.read()
print(inByte)
print('okay')
##收的数据是<ABCDEFGH buyer>
Openmv直接和Arduino的Rx和tx通讯,uart.write("X10","Y10")时,Arduino可以接收到。但是如果是uart.write("X%d Y%d"%(b.cx(),b.yx()))时,Arduino接收不到
串口通讯下有关于openmv与Arduino的代码,原代码是发送x,y中心坐标,改参数怎么改,如果我想接收4个数? 还有openmv输出的坐标值原点坐标是怎么确定的