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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8459c39afda5e6d25bb30b7db001d5cafc8ed6d2dd960d34956c7139aa1f9a79 |
|
MD5 | 0e993a940691b8c8d784bd2201a1a323 |
|
BLAKE2b-256 | ef06e18450fb0fed8ab016dd1798c2b9cee1dd7db081d263f52a5d9fa40a6bc4 |