Saturday, 15 January 2011

python 3.x - Monitor I/O of Serial Port -



python 3.x - Monitor I/O of Serial Port -

i creating gui pyqt4 on python 3. trying setup serial port using pyserial can later implement gui. don't know how view if command beingness sent want there programme can utilize see right bytes beingness sent?

to more clear: want see bytes beingness sent or received.

use pyserial's read , write methods check you're receiving peripheral , you're sending it. optionally utilize method to_bytes dig deeper, though serial devices take ascii commands.

also, serial class has builtin logging, need enable it.

python-3.x pyserial

No comments:

Post a Comment