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:
trafficLights
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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c539f4fe8972ca2138b88a0b4d1084fa89e946b42982c4abbb9a5df118cf61c |
|
MD5 | 2e00a578e93bb77ad696cd6bb45a14ca |
|
BLAKE2b-256 | b3d66970e00ad4aa5c24a7c7fd9b1bddb07868fe65de49be13a9b0ca567c1418 |