Provides many useful command lines in python
Project description
hawksoft.serialPortComm package
Provides a comm thread which send and receive bytes from serial port. The main thread can communicate with comm thread by send and receive fucntion.
Installation:
pip install hawksoft.serialPortComm
usage:
from hawksoft import comm
comm.start('COM1',9600)
...
frames = comm.receive()
...
comm.send(b'\x01\x02')
...
comm.close()
...
comm.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for hawksoft.serialPortComm-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6aadcbdfec612dbc7ddafad80b3c52817b6fe52891e88c1c30f72d44f7f8ec8 |
|
MD5 | aa4b4d2c237e244b80fb7b9fa63bcfdd |
|
BLAKE2b-256 | 9d99f3ff34266580055d8a03467325c48362e79de8c5cf84a978923dd054fa97 |