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.
I also provides an pyknow knowledge library to control traffic lights.
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()
To test the knowledge library, type command as follows:
traffic
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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988822ceb3fc0b6713017ef9dbfa8e6edb9c8b34fcd2678663e9c74534ac8e70 |
|
MD5 | 55a7d86c8f4bcfbefda62f5073b2eb88 |
|
BLAKE2b-256 | 216207ce542d15747816441f175f6745f20fa5c166b246781ffa90967fe56988 |