Python library for the USB-ISS board.


Keywords
usb_iss, i2c, python, spi, usb, usb-iss
License
GPL-3.0
Install
pip install usb-iss==2.0.1

Documentation

USB-ISS Python Library

PyPi TravisCI Documentation Status

Python library for the USB-ISS module.

USB ISS Module

Documentation

USB-ISS hardware module:
https://www.robot-electronics.co.uk/htm/usb_iss_tech.htm
USB-ISS Python library (this project):
https://usb-iss.readthedocs.io

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.