{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "\ufeffIntroduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ht16k33/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ht16k33/en/latest/\n :alt: Documentation Status\n\n.. image :: https://img.shields.io/discord/327254708534116352.svg\n :target: https://adafru.it/discord\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_HT16K33.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_HT16K33\n :alt: Build Status\n\nThis is a library for using the I\u00b2C-based LED matrices with the HT16K33 chip.\nIt supports both 16x8 and 8x8 matrices, as well as 7- and 14-segment displays.\n\n* **Notes**\n\n #. This library is intended for Adafruit CircuitPython's API. For a library compatible with MicroPython machine API see this `library `_.\n\n #. This library does not work with the Trellis 4x4 LED+Keypad board. For that product use: `CircuitPython Trellis Library `_\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nUsage Example\n=============\n\n.. code-block :: python\n\n # Import all board pins and bus interface.\n import board\n import busio\n\n # Import the HT16K33 LED matrix module.\n from adafruit_ht16k33 import matrix\n\n # Create the I2C interface.\n i2c = busio.I2C(board.SCL, board.SDA)\n\n # Create the matrix class.\n # This creates a 16x8 matrix:\n matrix = matrix.Matrix16x8(i2c)\n # Or this creates a 8x8 matrix:\n #matrix = matrix.Matrix8x8(i2c)\n # Or this creates a 8x8 bicolor matrix:\n #matrix = matrix.Matrix8x8x2\n # Finally you can optionally specify a custom I2C address of the HT16k33 like:\n #matrix = matrix.Matrix16x8(i2c, address=0x70)\n\n # Clear the matrix.\n matrix.fill(0)\n\n # Set a pixel in the origin 0,0 position.\n matrix[0, 0] = 1\n # Set a pixel in the middle 8, 4 position.\n matrix[8, 4] = 1\n # Set a pixel in the opposite 15, 7 position.\n matrix[15, 7] = 1\n matrix.show()\n\n # Change the brightness\n matrix.brightness = 8\n\n # Set the blink rate\n matrix.blink_rate = 2\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-ht16k33 --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33", "keywords": "adafruit ht16k33 led matrix segment displays hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ht16k33", "package_url": "https://pypi.org/project/adafruit-circuitpython-ht16k33/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ht16k33/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_HT16K33" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ht16k33/2.2.2/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for HT16K33 LED matrices and segment displays.", "version": "2.2.2" }, "last_serial": 4942157, "releases": { "2.1.0": [ { "comment_text": "", "digests": { "md5": "52a79ae7d9920e8f750ed33b28a29d72", "sha256": "09082f05ff05d75f59e5f9509d5589252e5b9e364a5894e1c8fd491f3d3c98e6" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.1.0.tar.gz", "has_sig": false, "md5_digest": "52a79ae7d9920e8f750ed33b28a29d72", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23754, "upload_time": "2018-08-06T20:35:52", "url": "https://files.pythonhosted.org/packages/49/f1/9ff23f440dd86ac38489811f96af8c7e07197c302e0c2298fe29cac1861d/adafruit-circuitpython-ht16k33-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "66a1aa5a26f254b59f1b7bcd7cc63c87", "sha256": "3eb9c7c9bbf49fcc41c9257710380ea64e24e1388fe289416b7a362cd3427ff6" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.1.1.tar.gz", "has_sig": false, "md5_digest": "66a1aa5a26f254b59f1b7bcd7cc63c87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23747, "upload_time": "2018-11-06T21:08:48", "url": "https://files.pythonhosted.org/packages/74/47/c4d88b1f7b31eb167a8975e62ad6df6bed3db058ae7997a1f9aab98a6672/adafruit-circuitpython-ht16k33-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "2492b441c2c1b1fd2db46c686f409fdf", "sha256": "ddd06cb73382efc03a2737d926fdec1b1914a84c0e551e9e9d7624b52fa1428f" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.1.2.tar.gz", "has_sig": false, "md5_digest": "2492b441c2c1b1fd2db46c686f409fdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21901, "upload_time": "2019-01-16T02:05:04", "url": "https://files.pythonhosted.org/packages/3a/b7/203aa36f913f8253dead34bae399719f0105f394407ca821ebacc309c7ad/adafruit-circuitpython-ht16k33-2.1.2.tar.gz" } ], "2.1.3": [ { "comment_text": "", "digests": { "md5": "e11c0c93a8e491ce65b350fbe1dbbdda", "sha256": "f924e02b030b2652cd006b5039676162a774a7d449acf2e44661ba29a8b5a92e" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.1.3.tar.gz", "has_sig": false, "md5_digest": "e11c0c93a8e491ce65b350fbe1dbbdda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21924, "upload_time": "2019-01-30T02:20:07", "url": "https://files.pythonhosted.org/packages/c6/9a/b891c4ca8b815a50bcd31d9f965bdd8d6e48f5b55d825db64e0b0923be5f/adafruit-circuitpython-ht16k33-2.1.3.tar.gz" } ], "2.2.0": [ { "comment_text": "", "digests": { "md5": "96e0e254067fdbf8904dbfd75471a1c7", "sha256": "92b4586fd98ad8f1b4f70063049ccf3e7f01d05b801c288c84b2c1f3d5bf2484" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.2.0.tar.gz", "has_sig": false, "md5_digest": "96e0e254067fdbf8904dbfd75471a1c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21917, "upload_time": "2019-02-06T18:25:57", "url": "https://files.pythonhosted.org/packages/42/e1/8a03516df9966da2d146639714c78afccc6032cd656649ddeb0953922f21/adafruit-circuitpython-ht16k33-2.2.0.tar.gz" } ], "2.2.1": [ { "comment_text": "", "digests": { "md5": "4baa55882d787d66f67406455ffaf167", "sha256": "8da75a099594fa50459a6ace4adee34fb10eff0426f5417b12af15f041d69408" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.2.1.tar.gz", "has_sig": false, "md5_digest": "4baa55882d787d66f67406455ffaf167", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21936, "upload_time": "2019-02-08T16:01:50", "url": "https://files.pythonhosted.org/packages/32/2e/42c9d43498f939aafc8c9a8b70092d85f0ef2bc54fe17dedd9b5d274a111/adafruit-circuitpython-ht16k33-2.2.1.tar.gz" } ], "2.2.2": [ { "comment_text": "", "digests": { "md5": "3ad66a20951d18faef6c6a110982b848", "sha256": "03b271f14177c08396eae96c1ae7a2486e4ca13661e6bad73386dc57e124a7ce" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.2.2.tar.gz", "has_sig": false, "md5_digest": "3ad66a20951d18faef6c6a110982b848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21932, "upload_time": "2019-03-15T00:24:44", "url": "https://files.pythonhosted.org/packages/f7/0b/263eb863af8cc3e277652087ef81d2747bef130ce4275add45b119d93ea6/adafruit-circuitpython-ht16k33-2.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3ad66a20951d18faef6c6a110982b848", "sha256": "03b271f14177c08396eae96c1ae7a2486e4ca13661e6bad73386dc57e124a7ce" }, "downloads": -1, "filename": "adafruit-circuitpython-ht16k33-2.2.2.tar.gz", "has_sig": false, "md5_digest": "3ad66a20951d18faef6c6a110982b848", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21932, "upload_time": "2019-03-15T00:24:44", "url": "https://files.pythonhosted.org/packages/f7/0b/263eb863af8cc3e277652087ef81d2747bef130ce4275add45b119d93ea6/adafruit-circuitpython-ht16k33-2.2.2.tar.gz" } ] }