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.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3b50aa7216149f1a4a2820bf86d1831b46eb984813e851b1866d4087fc5db65 |
|
MD5 | db6c9ddcc512cc72e372ad7f935780fb |
|
BLAKE2b-256 | fabc15d23ea670da674555a7d97245d3d5ab56ae155fa9c1f6069de1f4ecbc1b |