Python library for the USB-ISS board.
Project description
USB-ISS Python Library
Python library for the USB-ISS module.
- USB ISS module documentation:
- Python API documentation:
Features
I2C Mode
IO Mode (untested)
SPI Mode (untested)
Serial Mode (untested)
Usage Example
from usb_iss import UsbIss, defs
# Configure I2C mode
iss = UsbIss()
iss.open("COM3")
iss.setup_i2c()
# Write and read back some data
iss.i2c.write(0xC4, 0, [0, 1, 2]);
data = iss.i2c.read(0xC4, 0, 3)
print(data)
# [0, 1, 2]
Installing
pip install usb-iss
Supports Python 2.7 & 3.4+.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.3.1 (2018-07-02)
Fix Python2 serial interface
0.3.0 (2018-05-28)
Add SPI support
Add Serial UART support
Improve test coverage
0.2.4 (2018-05-23)
Add SPI, Serial and IO setup methods
0.2.3 (2018-05-22)
Fix and test Travis PyPI auto-deploy
0.2.0 (2018-05-21)
Generate documentation
Add dummy driver option for test purposes
Configure I/O as input by default
Add i2c.read/write aliases for read_ad1/write_ad1
Update setup_i2c to split out clk_khz and use_i2c_hardware parameters
0.1.0 (2018-04-19)
Initial release
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
Built Distribution
Hashes for usb_iss-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c364f10055edf57e87a53627610ab3a8b35daeac72cb708a07c1bb2f864ea601 |
|
MD5 | d0fd86c840731d051916d4b431195283 |
|
BLAKE2b-256 | f893013548330ab252a3f4d1ad04024487c3ef556545caca5f671cc4366dd01d |