SamP20 / usb_iss

Python library for the USB-ISS board

Home Page:https://usb-iss.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USB-ISS Python Library

PyPi TravisCI Documentation Status

Python library for the USB-ISS module.

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 (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.5+.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Python library for the USB-ISS board

https://usb-iss.readthedocs.io

License:Other


Languages

Language:Python 96.2%Language:Makefile 3.8%