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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyinterface-1.7.0.tar.gz.
File metadata
- Download URL: pyinterface-1.7.0.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d24ab5d119b0db87189922943dd3781a98d940924bdf9e45003f2b39c57cc59
|
|
| MD5 |
2c7d7e26331f2a614edad372901215c4
|
|
| BLAKE2b-256 |
d7e8a1dd4088948e26241908122cfc99472f46c828ac42fe48fcfe9e27fbbf14
|
File details
Details for the file pyinterface-1.7.0-py3-none-any.whl.
File metadata
- Download URL: pyinterface-1.7.0-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ff13dfdfc2034d8f99941ea42c9d2d2079dc1ae1d39a76432558892bb7a1f23
|
|
| MD5 |
bd504c4924d3eb78374c98341ef2a2cb
|
|
| BLAKE2b-256 |
cb0df779ed4c8a649f2faac01adee239f59c5de5d13e88b3f4b9225739f5ef7a
|