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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bfa717b2756a954cad00602043cd19c6bb3d4a63c0a4e611d452316d59833a2 |
|
MD5 | 188e5883ee215ade61d188cf11a7de2a |
|
BLAKE2b-256 | 8cbae7ddcbe5a0ac52404fac75fa4a60886b648979692699bc4a282581e79f65 |