Skip to main content

UMAK utils module

Project description

Installation

In order to install filipid please run setup.py script or use PIP.

python setup.py install

Using PIP

pip install filipid

Example of usage

from filipid import port

port = port.Port(port='/dev/cu.usbserial-A901A1JZ')
tmp = port.send([253, 252, 2, 3, 0], 0.04)
print(tmp)
tmp = port.send([253, 251, 2, 0], 0.02)
print(tmp)
tmp = port.send([255, 2], 0.02)
print(tmp)

Utils tool

If you want to list all available ports

>>> list_ports

/dev/cu.SRS-XB10-CSRGAIA-1
/dev/cu.BoseQuietComfort35-SPPD-1
/dev/cu.usbserial-A901A1JZ

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

filipid-0.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

filipid-0.0.2-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

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