Commit b0ed69bd authored by root's avatar root
Browse files

update network example

parent 0591d7e1
......@@ -85,7 +85,7 @@ if __name__ == '__main__':
address_sensor = [2,3,4]
txs = []
for i in range(0,len(address_ta)):
for i in range(0,len(address_sensor)):
txs.append(struct.pack('B',address_sensor[i])+'\x03\x00\x10\x00\x06')
txs[i] += m.get_crc(txs[i])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment