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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45442e490b4066bda60ba56e7eeffd22cff88f946c3df85ed4b4198e9d624088 |
|
MD5 | b4820a7b170337b7aaf6bc0ff227f068 |
|
BLAKE2b-256 | 28c5d1c1f6df3af241e406abd1f4bf6beecc81f50d9fb20d95ce093bb66e2ee6 |