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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b05bff9a69aae6eadf58b9471a68e134330bbf9117fa3de6deb2f006af9c7e8 |
|
MD5 | e742e960075a8ca018348c4e5f505ca8 |
|
BLAKE2b-256 | 020332c8a55e3e47fc1728f86b9f2c1031910c69b2c0e18545007c7acf78a858 |