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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61e08a234e6649a1941bcc72b2bda2b4808a726c4662089d0276b5f55d60d20a |
|
MD5 | 0ab6fccce353a25f5903f723ea495d9a |
|
BLAKE2b-256 | 297671acc149e85f01378b9485d800fa44038f8d051b947727a6d0700f74d7ea |