Metadata-Version: 2.1
Name: usb-iss
Version: 0.2.1
Summary: Python library for the USB-ISS board.
Home-page: https://github.com/sneakypete81/usb_iss
Author: Pete Burgers
Author-email: sneakypete81@gmail.com
License: GNU General Public License v3
Keywords: usb_iss
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: pyserial

======================
USB-ISS Python Library
======================

.. image:: https://img.shields.io/pypi/v/usb_iss.svg
    :target: https://pypi.python.org/pypi/usb_iss
    :alt: PyPi

.. image:: https://img.shields.io/travis/sneakypete81/usb_iss.svg
    :target: https://travis-ci.org/sneakypete81/usb_iss
    :alt: TravisCI

.. image:: https://readthedocs.org/projects/usb-iss/badge/?version=latest
    :target: https://usb-iss.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://pyup.io/repos/github/sneakypete81/usb_iss/shield.svg
    :target: https://pyup.io/repos/github/sneakypete81/usb_iss/
    :alt: Updates

Python library for the USB-ISS module.

.. image:: https://www.robot-electronics.co.uk/images/usb-iss-300.png
    :alt: 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 (not yet implemented)
* Serial Mode (not yet implemented)

Usage Example
-------------
.. code-block:: python

    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]


----

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.2.1 (2018-05-22)
------------------

* Fix and test Travis PyPI auto-deplo


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


