{"id":16316630,"url":"https://github.com/nathany3g/circuitpython_unicorn_hat_hd","last_synced_at":"2026-04-30T14:33:38.781Z","repository":{"id":46335704,"uuid":"422664188","full_name":"NathanY3G/CircuitPython_Unicorn_HAT_HD","owner":"NathanY3G","description":"CircuitPython framebuf based driver for Pimoroni's Unicorn HAT HD","archived":false,"fork":false,"pushed_at":"2021-10-30T12:44:22.000Z","size":1329,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-06T03:09:16.197Z","etag":null,"topics":["circuitpython","circuitpython-library","unicornhat","unicornhat-hd","unicornhathd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NathanY3G.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-29T17:42:38.000Z","updated_at":"2021-10-30T12:43:42.000Z","dependencies_parsed_at":"2022-08-29T20:20:20.985Z","dependency_job_id":null,"html_url":"https://github.com/NathanY3G/CircuitPython_Unicorn_HAT_HD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanY3G%2FCircuitPython_Unicorn_HAT_HD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanY3G%2FCircuitPython_Unicorn_HAT_HD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanY3G%2FCircuitPython_Unicorn_HAT_HD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanY3G%2FCircuitPython_Unicorn_HAT_HD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NathanY3G","download_url":"https://codeload.github.com/NathanY3G/CircuitPython_Unicorn_HAT_HD/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252704205,"owners_count":21791029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuitpython","circuitpython-library","unicornhat","unicornhat-hd","unicornhathd"],"created_at":"2024-10-10T22:05:12.617Z","updated_at":"2026-04-30T14:33:38.736Z","avatar_url":"https://github.com/NathanY3G.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\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\n.. image:: https://img.shields.io/pypi/v/circuitpython-unicornhathd?color=informational\n     :target: https://pypi.org/project/circuitpython-unicornhathd\n     :alt: PyPI\n\n\nCircuitPython framebuf based driver for Pimoroni's Unicorn HAT HD.\nThis driver supports the `adafruit_framebuf interface \u003chttps://circuitpython.readthedocs.io/projects/framebuf/en/latest/\u003e`__ via composition instead of inheritance.\n\n.. image:: ./images/unicornhathd_rainbow.png\n   :alt: Pimoroni Unicorn HAT HD on breadboard\n   :scale: 50%\n   :align: center\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `Adafruit framebuf \u003chttps://github.com/adafruit/Adafruit_CircuitPython_framebuf\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://circuitpython.org/libraries\u003e`_\nor individual libraries can be installed using\n`circup \u003chttps://github.com/adafruit/circup\u003e`_.\n\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/circuitpython-unicornhathd/\u003e`_.\nTo install for current user:\n\n.. code-block:: shell\n\n    pip3 install circuitpython-unicornhathd\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install circuitpython-unicornhathd\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .env\n    source .env/bin/activate\n    pip3 install circuitpython-unicornhathd\n\n\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install unicornhathd\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\nUsage Example\n=============\n\n.. code-block:: python\n\n  import board\n  import digitalio\n  from unicornhathd import UnicornHATHD\n\n  # TODO: Change this pin to match your wiring\n  chip_select_pin = digitalio.DigitalInOut(board.D0)\n  chip_select_pin.direction = digitalio.Direction.OUTPUT\n  chip_select_pin.value = True\n\n  display = UnicornHATHD(board.SPI(), chip_select_pin)\n\n  # Turn on all of the blue LEDs\n  display.fill(127)\n  display.show()\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/NathanY3G/CircuitPython_Unicorn_HAT_HD/blob/HEAD/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n\nDocumentation\n=============\n\nFor information on building library documentation, please check out\n`this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathany3g%2Fcircuitpython_unicorn_hat_hd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathany3g%2Fcircuitpython_unicorn_hat_hd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathany3g%2Fcircuitpython_unicorn_hat_hd/lists"}