bytearray 如何将一个float 数写到字节数组中
-
rho_err = abs(line.rho())-img.width()/2
theta_err = line.theta()
data_back = bytearray([0x00,0XA0,theta_r,0XAA])
uart.write("data_back")![0_1551355451023_430T_A5]4RL)D_0N~~T24D.png
-