Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
test USB serial communication error rate and speed
no vote
This test code is to test USB serial communication speed, writen in python. example output: COM18(58 small) -> COM17(59, big): ok Bytes: 4000  seconds: 13  rate:307.00 bytes/sec START ! Error: expect: 0x31, actual: 0x0  -48 Error: expect: 0xc0, actual: 0xe0  33 END ACK: ack bytes:4000, err bytes:2 , err packet 2 / 59 (3.39%) ack bytes:4032, err bytes:302 , err packet 0 / 48 (0.00%), setting 32, loop 64 ack bytes:4000, err bytes:389 , err packet 1 / 46 (2.17%), setting 32, loop 64, sleep 0.2 sec ack bytes:3968, err bytes:745 , err packet 2 / 72 (2.78%), setting 32, loop 32 ack bytes:3968, err bytes:746 , err packet 1 / 71 (1.41%)                Bytes: 4000  seconds: 25  rate:160.00 bytes/sec COM17(big,59
baker1024243
2016-08-23
0
1
No more~