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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b77c0f3c650f312adcf500a694be66cdbde2cf34de2288274e3387b2790bbb |
|
MD5 | d1417e9d2fa8e978420020ea6e2dfee8 |
|
BLAKE2b-256 | 4bd3891d0fb17e3342b9744fd3c0defde6204fb2097aaa276c521057a443a0dc |