Provides a thread which send and receive bytes from serial port.
Project description
hawksoft.serialPortComm package
Provides a thread which send and receive bytes from serial port. The main thread can communicate with 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()
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-3.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd7501a3dcf3bf64d6ac9aa4b4393c64dc1cae0103eacf6e03f4ab761dfba23 |
|
MD5 | 3b2718cc3dd886b01ff370f65f80accd |
|
BLAKE2b-256 | 3778c5189e7463e438b76bfa7d9c95446b98120468ce9ea42df7eafab6648197 |