USB-ISS Python Library¶
Python library for the USB-ISS module.
- USB ISS module documentation:
- https://www.robot-electronics.co.uk/htm/usb_iss_tech.htm
- Python API documentation:
- https://usb-iss.readthedocs.io
Features¶
- I2C Mode
- IO Mode
- SPI Mode
- Serial Mode
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.5+.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.