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.5.tar.gz
(38.3 kB
view details)
Built Distribution
File details
Details for the file pyinterface-1.7.5.tar.gz
.
File metadata
- Download URL: pyinterface-1.7.5.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c4dee8c6373c77afb5a440b4c6e2efcd1ad7603286c14e32a6c506b00e8dadd |
|
MD5 | 9571ba8e0cbd950d848b6348c08e550d |
|
BLAKE2b-256 | 74fcb609c256af5e34afe9838ea67cd40b13d3bead31721efb1395f2731866b1 |
File details
Details for the file pyinterface-1.7.5-py3-none-any.whl
.
File metadata
- Download URL: pyinterface-1.7.5-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b4b06746f8d9cdf5bdeb98b8ac680319194bb67bcea4d6fb4746081517926a2 |
|
MD5 | e22fcc70f994a8c71232037b3109bf19 |
|
BLAKE2b-256 | 16395440d7a1348be4be51567c9118609e77e0e81a67bef50f573d0fbe3ada97 |