laigui / pyusbmodule

Python interface to expansion modules via USB serial connection.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyusbmodule

Travis Build Status Test coverage report

Python interface to expansion modules via USB connection.

Installation

pip3 install -U pyusbmodule

Usage

# the package
from usbmodule import r4i4d

# using class
instr = r4i4d.RelayModule('/dev/ttyUSB0', 1) 
instr.debug = True

# using module method
instr.get_digital_inputs()

License

Apache

About

Python interface to expansion modules via USB serial connection.

License:Apache License 2.0


Languages

Language:Python 91.4%Language:Makefile 8.6%