Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hawksoft.serialPortComm-1.0.3.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page