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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de573ea4c33f6825f71206c3a2f90781d70c6257fdfd734a86546a4c32d892f3 |
|
MD5 | 51f5317d82b5012df0f26dc2b3e7b0d8 |
|
BLAKE2b-256 | b43990f9f605ab9dae711305c45a38e42ec550590eac592dc663e3a1ea07f1f9 |