{ "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": "Introduction\n============\n\n.. image :: https://readthedocs.org/projects/adafruit-circuitpython-max7219/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/max7219/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_MAX7219.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MAX7219\n :alt: Build Status\n\nCircuitPython driver for the MAX7219 LED matrix driver chip.\n\nSee `here `_ for the equivalent MicroPython driver.\n\nDependencies\n=============\nThis driver depends on:\n\n* `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 `_.\n\nUsage Example\n=============\n\nadafruit_max7219.Matrix8x8 Example\n----------------------------------\n\n.. code-block:: python\n\n from adafruit_max7219 import matrices\n from board import TX, RX, A2\n import busio\n import digitalio\n import time\n\n clk = RX\n din = TX\n cs = digitalio.DigitalInOut(A2)\n\n spi = busio.SPI(clk, MOSI=din)\n display = matrices.Matrix8x8(spi, cs)\n while True:\n display.brightness(3)\n\n display.fill(1)\n display.pixel(3, 3)\n display.pixel(3, 4)\n display.pixel(4, 3)\n display.pixel(4, 4)\n display.show()\n time.sleep(3.0)\n\n display.clear_all()\n s = 'Hello, World!'\n for c in range(len(s)*8):\n display.fill(0)\n display.text(s,-c,0)\n display.show()\n time.sleep(0.25)\n\n\nadafruit_max7219.BCDDigits Example\n----------------------------------\n\n.. code-block:: python\n\n from adafruit_max7219 import bcddigits\n from board import TX, RX, A2\n import bitbangio\n import digitalio\n\n clk = RX\n din = TX\n cs = digitalio.DigitalInOut(A2)\n\n spi = bitbangio.SPI(clk, MOSI=din)\n display = bcddigits.BCDDigits(spi, cs, nDigits=8)\n display.clear_all()\n display.show_str(0,'{:9.2f}'.format(-1234.56))\n display.show()\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-max7219 --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_DRV2605", "keywords": "adafruit max7219 LED matrix breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-max7219", "package_url": "https://pypi.org/project/adafruit-circuitpython-max7219/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-max7219/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_DRV2605" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-max7219/1.2.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for MAX7219 LED matrix driver.", "version": "1.2.1" }, "last_serial": 5250442, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "b5e8ee01bef245c385ed2965cc7d9b30", "sha256": "1eb0f37ed4a58c8d71f4f96e99c2bfdb1c911d30df790f35eb4a353da19fc111" }, "downloads": -1, "filename": "adafruit-circuitpython-max7219-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b5e8ee01bef245c385ed2965cc7d9b30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23370, "upload_time": "2018-08-06T21:17:31", "url": "https://files.pythonhosted.org/packages/2a/88/b7772be516d1a3f49d088dff0f2ba58f6d6ee081072ee74576f724c756e5/adafruit-circuitpython-max7219-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "c32883037bf5f03dccee0caee5d12679", "sha256": "bda536f77ce5f52252012488c226641ac972818705f92e7c6956598cb2b05f83" }, "downloads": -1, "filename": "adafruit-circuitpython-max7219-1.1.1.tar.gz", "has_sig": false, "md5_digest": "c32883037bf5f03dccee0caee5d12679", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21812, "upload_time": "2018-12-29T00:09:20", "url": "https://files.pythonhosted.org/packages/6c/63/9dd5fc8106b1441f3b76b2105e78e4fe00c60863fe7d7fc70964a922addd/adafruit-circuitpython-max7219-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "0eeb073361b1945866fe1e23c4932a7d", "sha256": "1bcb0aef5cdae4cc57da03ee62938951c522f1fcf2048f7c9eba57771e8d3adf" }, "downloads": -1, "filename": "adafruit-circuitpython-max7219-1.2.0.tar.gz", "has_sig": false, "md5_digest": "0eeb073361b1945866fe1e23c4932a7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21830, "upload_time": "2019-02-04T05:09:39", "url": "https://files.pythonhosted.org/packages/23/d1/857af3e3746dd667f8f92161f70e54c8ec5752da5d907c04cec22deea1b7/adafruit-circuitpython-max7219-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6e33a1b9d820e630d5fcf98a73a012aa", "sha256": "578a3910514419b2a64d0a26e9f69fef0b4f08d900dcd39d53a3cdf63b0ce97f" }, "downloads": -1, "filename": "adafruit-circuitpython-max7219-1.2.1.tar.gz", "has_sig": false, "md5_digest": "6e33a1b9d820e630d5fcf98a73a012aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21835, "upload_time": "2019-05-10T03:56:02", "url": "https://files.pythonhosted.org/packages/d2/6c/a9e97dd6e2d4f20bce40ddc98dd2275a0bdb7358adfeaaa5aa31390fbf8a/adafruit-circuitpython-max7219-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6e33a1b9d820e630d5fcf98a73a012aa", "sha256": "578a3910514419b2a64d0a26e9f69fef0b4f08d900dcd39d53a3cdf63b0ce97f" }, "downloads": -1, "filename": "adafruit-circuitpython-max7219-1.2.1.tar.gz", "has_sig": false, "md5_digest": "6e33a1b9d820e630d5fcf98a73a012aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21835, "upload_time": "2019-05-10T03:56:02", "url": "https://files.pythonhosted.org/packages/d2/6c/a9e97dd6e2d4f20bce40ddc98dd2275a0bdb7358adfeaaa5aa31390fbf8a/adafruit-circuitpython-max7219-1.2.1.tar.gz" } ] }