adafruit-circuitpython-is31fl3731


Nameadafruit-circuitpython-is31fl3731 JSON
Version 3.3.8 PyPI version JSON
download
home_page
SummaryCircuitPython library for IS31FL3731 charlieplex LED matrices.
upload_time2023-05-18 15:38:09
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords adafruit is31fl3731 led matrix charlieplex featherwingbreakout hardware micropython circuitpython
VCS
bugtrack_url
requirements Adafruit-Blinka adafruit-circuitpython-busdevice
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-is31fl3731/badge/?version=latest
    :target: https://docs.circuitpython.org/projects/is31fl3731/en/latest/
    :alt: Documentation Status

.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731/workflows/Build%20CI/badge.svg
    :target: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731/actions/
    :alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

CircuitPython driver for the IS31FL3731 charlieplex IC.

This driver supports the following hardware:

* `Adafruit 16x9 Charlieplexed PWM LED Matrix Driver - IS31FL3731 <https://www.adafruit.com/product/2946>`_
* `Adafruit 15x7 CharliePlex LED Matrix Display FeatherWings <https://www.adafruit.com/product/2965>`_
* `Adafruit 16x8 CharliePlex LED Matrix Bonnets <https://www.adafruit.com/product/4127>`_
* `Pimoroni 17x7 Scroll pHAT HD <https://www.adafruit.com/product/3473>`_
* `Pimoroni 28x3 (r,g,b) Led Shim <https://www.adafruit.com/product/3831>`_
* `Pimoroni Keybow 2040 with 4x4 matrix of RGB LEDs <https://shop.pimoroni.com/products/keybow-2040>`_
* `Pimoroni 5x5 RGB Matrix Breakout <https://shop.pimoroni.com/products/5x5-rgb-matrix-breakout>`_


Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.

Installing from PyPI
====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-is31fl3731/>`_. To install for current user:

.. code-block:: shell

    pip3 install adafruit-circuitpython-is31fl3731

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo pip3 install adafruit-circuitpython-is31fl3731

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install adafruit-circuitpython-is31fl3731

Usage Example
=============

Matrix:

.. code:: python

    from adafruit_is31fl3731.matrix import Matrix
    import board
    import busio
    with busio.I2C(board.SCL, board.SDA) as i2c:
        display = Matrix(i2c)
        display.fill(127)


Charlie Wing:

.. code:: python

    from adafruit_is31fl3731.charlie_wing import CharlieWing
    import board
    import busio
    with busio.I2C(board.SCL, board.SDA) as i2c:
        display = CharlieWing(i2c)
        display.fill(127)

        # Turn off pixel 4,4, change its brightness and turn it back on
        display.pixel(4, 4, 0)   # Turn off.
        display.pixel(4, 4, 50)  # Low brightness (50)
        display.pixel(4, 4, 192) # Higher brightness (192)

Documentation
=============

API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/is31fl3731/en/latest/>`_.

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_is31fl3731/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "adafruit-circuitpython-is31fl3731",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adafruit,is31fl3731,led,matrix,charlieplex,featherwingbreakout,hardware,micropython,circuitpython",
    "author": "",
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/03/f3/c6e6b163ecdc31c1058fea324545ba0cefb0a512e75a3bd837dfeb0fc168/adafruit-circuitpython-is31fl3731-3.3.8.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-is31fl3731/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/is31fl3731/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731/actions/\n    :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nCircuitPython driver for the IS31FL3731 charlieplex IC.\n\nThis driver supports the following hardware:\n\n* `Adafruit 16x9 Charlieplexed PWM LED Matrix Driver - IS31FL3731 <https://www.adafruit.com/product/2946>`_\n* `Adafruit 15x7 CharliePlex LED Matrix Display FeatherWings <https://www.adafruit.com/product/2965>`_\n* `Adafruit 16x8 CharliePlex LED Matrix Bonnets <https://www.adafruit.com/product/4127>`_\n* `Pimoroni 17x7 Scroll pHAT HD <https://www.adafruit.com/product/3473>`_\n* `Pimoroni 28x3 (r,g,b) Led Shim <https://www.adafruit.com/product/3831>`_\n* `Pimoroni Keybow 2040 with 4x4 matrix of RGB LEDs <https://shop.pimoroni.com/products/keybow-2040>`_\n* `Pimoroni 5x5 RGB Matrix Breakout <https://shop.pimoroni.com/products/5x5-rgb-matrix-breakout>`_\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.\n\nInstalling from PyPI\n====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI <https://pypi.org/project/adafruit-circuitpython-is31fl3731/>`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-is31fl3731\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-is31fl3731\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name && cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-is31fl3731\n\nUsage Example\n=============\n\nMatrix:\n\n.. code:: python\n\n    from adafruit_is31fl3731.matrix import Matrix\n    import board\n    import busio\n    with busio.I2C(board.SCL, board.SDA) as i2c:\n        display = Matrix(i2c)\n        display.fill(127)\n\n\nCharlie Wing:\n\n.. code:: python\n\n    from adafruit_is31fl3731.charlie_wing import CharlieWing\n    import board\n    import busio\n    with busio.I2C(board.SCL, board.SDA) as i2c:\n        display = CharlieWing(i2c)\n        display.fill(127)\n\n        # Turn off pixel 4,4, change its brightness and turn it back on\n        display.pixel(4, 4, 0)   # Turn off.\n        display.pixel(4, 4, 50)  # Low brightness (50)\n        display.pixel(4, 4, 192) # Higher brightness (192)\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/is31fl3731/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_is31fl3731/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CircuitPython library for IS31FL3731 charlieplex LED matrices.",
    "version": "3.3.8",
    "project_urls": {
        "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3731"
    },
    "split_keywords": [
        "adafruit",
        "is31fl3731",
        "led",
        "matrix",
        "charlieplex",
        "featherwingbreakout",
        "hardware",
        "micropython",
        "circuitpython"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87ae0ebfd81e6a1ad75b1b9fb8818e0bdb641b6e590130db1a5a67a9152a17fc",
                "md5": "b48c51bdb90451f1773f014632c1fd38",
                "sha256": "6732e8c2a481d617f5fddf1afc6384f04275d230939d9aad28161954b6ef27ea"
            },
            "downloads": -1,
            "filename": "adafruit_circuitpython_is31fl3731-3.3.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b48c51bdb90451f1773f014632c1fd38",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15517,
            "upload_time": "2023-05-18T15:38:08",
            "upload_time_iso_8601": "2023-05-18T15:38:08.597870Z",
            "url": "https://files.pythonhosted.org/packages/87/ae/0ebfd81e6a1ad75b1b9fb8818e0bdb641b6e590130db1a5a67a9152a17fc/adafruit_circuitpython_is31fl3731-3.3.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "03f3c6e6b163ecdc31c1058fea324545ba0cefb0a512e75a3bd837dfeb0fc168",
                "md5": "c5afa40d71785a056c871efa23faabd9",
                "sha256": "eedb250963b26c1af1b21d5a2a0ca2f6782480d34b318ac526080a4fea0011d3"
            },
            "downloads": -1,
            "filename": "adafruit-circuitpython-is31fl3731-3.3.8.tar.gz",
            "has_sig": false,
            "md5_digest": "c5afa40d71785a056c871efa23faabd9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 35685,
            "upload_time": "2023-05-18T15:38:09",
            "upload_time_iso_8601": "2023-05-18T15:38:09.784419Z",
            "url": "https://files.pythonhosted.org/packages/03/f3/c6e6b163ecdc31c1058fea324545ba0cefb0a512e75a3bd837dfeb0fc168/adafruit-circuitpython-is31fl3731-3.3.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-18 15:38:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "adafruit",
    "github_project": "Adafruit_CircuitPython_IS31FL3731",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "Adafruit-Blinka",
            "specs": []
        },
        {
            "name": "adafruit-circuitpython-busdevice",
            "specs": []
        }
    ],
    "lcname": "adafruit-circuitpython-is31fl3731"
}
        
Elapsed time: 0.06543s