USB-ISS Python Library
Python library for the USB-ISS module.
Documentation
- USB-ISS hardware module:
- USB-ISS Python library (this project):
Features
Supports all USB-ISS functions (I2C, IO, SPI, Serial)
Cross-platform (Windows, Linux, MacOS, BSD)
Supports Python 2.7 & 3.5+
Comprehensive documentation and unit test suite
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
# NOTE: I2C methods use 7-bit device addresses (0x00 - 0x7F)
iss.i2c.write(0x62, 0, [0, 1, 2]);
data = iss.i2c.read(0x62, 0, 3)
print(data)
# [0, 1, 2]
Installing
pip install usb-iss
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Changelog
2.0.1 (2021-01-21)
Add serial+I2C operating modes to read_iss_mode()
2.0.0 (2019-11-04)
BREAKING CHANGE: Use 7-bit I2C device addresses
1.0.0 (2019-10-16)
BREAKING CHANGE: Remember the previous IO state in the setup_* methods (thanks SamP20)
BREAKING CHANGE: Improve the serial mode API
Add verbose logging option
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
Metadata
Release files for usb-iss 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| usb_iss-2.0.1.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| usb_iss-2.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 26.7 kB
Release files / usb_iss-2.0.1.tar.gz
| Download URL | usb_iss-2.0.1.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96134bd1d37b39eca8e01d41e105868cf81cd6309bff1fa41ebfe5957b8e24d9
|
|
BLAKE2b-256 checksum How to use checksums |
88018bebeb27d45090075682ea002f23511cf9ff266274948ac4b1e86c9c95d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
|
Release files / usb_iss-2.0.1-py2.py3-none-any.whl
| Download URL | usb_iss-2.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
226f8dc891897b5003232a17ab9f650b22ee8e11bb8995c642bb6319161645ac
|
|
BLAKE2b-256 checksum How to use checksums |
d2bd3dc16ea6afcd7539946ba9304902d9a742d8700d31e7484da2bae420eb13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
|