Skip to main content

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.

Changelog

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usb_iss-2.0.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usb_iss-2.0.0-py2.py3-none-any.whl (13.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file usb_iss-2.0.0.tar.gz.

File metadata

  • Download URL: usb_iss-2.0.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.1

File hashes

Hashes for usb_iss-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6e112044915cbe3e1d15485297c461a8629e03477687e7293222c16802ca017d
MD5 ac62710e0fad3847d562009f05139126
BLAKE2b-256 209444b3d33079f850205b71d01c73a082bbbb2ddc0186e88ab1dfd8cf1a64d7

See more details on using hashes here.

File details

Details for the file usb_iss-2.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: usb_iss-2.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.1

File hashes

Hashes for usb_iss-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ec99aef8540e24c08fbdc112752e2bac032faa2f97fa1c7b22a3bfbee1c2ca8c
MD5 575029fe14d844b821df077f8cf94750
BLAKE2b-256 5b5971601ed361fc0dc2142632886b919eccef74d83e031a9f53f658b0aa1e2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page