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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0833f8449daddbc08e1904f7efbc7f2ebace9dabb1fa204f56e3f0cda0443a1d |
|
MD5 | 4fd9349c55b53b288faa7c5a5a35cde0 |
|
BLAKE2b-256 | 6cf886b1547ba49930af018d7e5b679027d0c237099aa005508ed1fc66399e9b |