driver for Interface PCI board
Project description
Interface PCI board driver for python
Environment
- Linux
- python 3
- require : portio module
Installation
pip install pyinterface
Usage
import pyinterface
board_name = 2724
rsw_id = 2
b = pyinterface.open(board_name, rsw_id)
b.input_byte('IN1_8')
>>> [0, 0, 0, 0, 0, 0, 0, 0]
b.output_byte([0, 1, 0, 1, 0, 0, 1, 1], 'OUT25_32')
>>> 000000CA
Documents
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
pyinterface-1.7.0.tar.gz
(38.2 kB
view hashes)
Built Distribution
Close
Hashes for pyinterface-1.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff13dfdfc2034d8f99941ea42c9d2d2079dc1ae1d39a76432558892bb7a1f23 |
|
MD5 | bd504c4924d3eb78374c98341ef2a2cb |
|
BLAKE2b-256 | cb0df779ed4c8a649f2faac01adee239f59c5de5d13e88b3f4b9225739f5ef7a |