Skip to main content

USB-ISS Python Library

PyPi TravisCI Documentation Status Updates

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.4+.


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

History

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-0.3.0.tar.gz (10.7 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-0.3.0-py2.py3-none-any.whl (11.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: usb_iss-0.3.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for usb_iss-0.3.0.tar.gz
Algorithm Hash digest
SHA256 af1944c502028f92a5ba6f595fd76b27fd2ae694763c269e4cb0cb6eff76b25d
MD5 f479de530ce1ad370346639a31b8a1e8
BLAKE2b-256 9a800833e33fa05d01a704b970afe7315d27e8d012a7c3706b9fb60a47ca6868

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for usb_iss-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 64c73fa1511ee6be1cc462ae54fcbdd0be2bef7ed5f6723bb49fa12864db15ec
MD5 e1f5e6a0f4c852f85f8952c0932c5a8f
BLAKE2b-256 8e912b6de166649341285f2e236e05cf0739c2892dc89fde6b317e0682740be4

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