{"id":13802229,"url":"https://github.com/vrialland/micropython-max7219","last_synced_at":"2025-08-24T13:41:53.945Z","repository":{"id":54532122,"uuid":"138068024","full_name":"vrialland/micropython-max7219","owner":"vrialland","description":"MicroPython driver for MAX7219 8x8 LED matrix","archived":false,"fork":false,"pushed_at":"2022-07-25T17:18:11.000Z","size":13,"stargazers_count":40,"open_issues_count":2,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T23:39:38.812Z","etag":null,"topics":["esp32","esp8266","max7219","micropython"],"latest_commit_sha":null,"homepage":null,"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/vrialland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-20T17:59:09.000Z","updated_at":"2025-06-23T03:07:38.000Z","dependencies_parsed_at":"2022-08-13T18:50:50.987Z","dependency_job_id":null,"html_url":"https://github.com/vrialland/micropython-max7219","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vrialland/micropython-max7219","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrialland%2Fmicropython-max7219","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrialland%2Fmicropython-max7219/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrialland%2Fmicropython-max7219/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrialland%2Fmicropython-max7219/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vrialland","download_url":"https://codeload.github.com/vrialland/micropython-max7219/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vrialland%2Fmicropython-max7219/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265570996,"owners_count":23789994,"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":["esp32","esp8266","max7219","micropython"],"created_at":"2024-08-04T00:01:39.664Z","updated_at":"2025-07-17T06:03:38.679Z","avatar_url":"https://github.com/vrialland.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Display"],"readme":"# micropython-max7219\n\n\u003e MicroPython driver for MAX7219 8x8 LED matrix\n\n![CI status](https://github.com/vrialland/micropython-max7219/workflows/CI/badge.svg?branch=main)\n\n# What is it?\n\nThis library provides support for the MAX7219 8x8 LED matrix on ESP8266 with MicroPython.\nIt uses [`framebuf`](https://docs.micropython.org/en/latest/esp8266/library/framebuf.html) internally to provide drawing primitives and text support.\nYou can chain several matrices the way you like: if you use two 4x 8x8 matrices, you can have\none of the left, and the other on the right giving you a 64x8 area, or have one on top of the other to have a 32x16 display!\n\nTested on ESP8266 and ESP32 systems.\n\n# Connecting on ESP8266\n\n| ESP8266                    | MAX7219 |\n| -------------------------- | ------- |\n| 5V                         | VCC     |\n| GND                        | GND     |\n| GPIO13 (HWSPI #1 MOSI)     | DIN     |\n| GPIO14 (HWSPI #1 SCK)      | CLK     |\n| GPIO15                     | CS      |\n\n# Connecting on ESP32\n\n| ESP32                      | MAX7219 |\n| -------------------------- | ------- |\n| 5V                         | VCC     |\n| GND                        | GND     |\n| GPIO13 (HWSPI #1 MOSI)     | DIN     |\n| GPIO14 (HWSPI #1 SCK)      | CLK     |\n| GPIO15                     | CS      |\n\n# Examples\n\nUsing `10000000` as `baudrate` is recommended as greater values don't seem to work well...\n\n## Single 8x8 matrix (8x8 pixels)\n\n```python\n\nfrom machine import Pin, SPI\nimport max7219\n\nspi = SPI(1, baudrate=10000000)\nscreen = max7219.Max7219(8, 8, spi, Pin(15))\nscreen.text('A', 0, 0, 1)\nscreen.show()\n```\n\n## Single 4x 8x8 matrix (32x8 pixels)\n\n```python\n\nfrom machine import Pin, SPI\nimport max7219\n\nspi = SPI(1, baudrate=10000000)\nscreen = max7219.Max7219(32, 8, spi, Pin(15))\nscreen.text('ABCD', 0, 0, 1)\nscreen.show()\n```\n\n## Two 4x 8x8 matrices (left/right, 64x8 pixels)\n\n```python\n\nfrom machine import Pin, SPI\nimport max7219\n\nspi = SPI(1, baudrate=10000000)\nscreen = max7219.Max7219(64, 8, spi, Pin(15))\nscreen.text('ABCDEFGH', 0, 0, 1)\nscreen.show()\n```\n\n## Two 4x 8x8 matrices (top/bottom, 32x16 pixels)\n\n```python\n\nfrom machine import Pin, SPI\nimport max7219\n\nspi = SPI(1, baudrate=10000000)\nscreen = max7219.Max7219(32, 16, spi, Pin(15))\nscreen.text('ABCD', 0, 0, 1)\nscreen.text('EFGH', 0, 8, 1)\nscreen.show()\n```\n\n# Credits\n\nThis library is based on:\n\n- [Official Micropython SSD1306 driver](https://github.com/micropython/micropython/blob/master/drivers/display/ssd1306.py)\n- [micropython-max7219](https://github.com/mcauser/micropython-max7219) by [mcauser](https://github.com/mcauser)\n- [Redgick GFX](https://github.com/redgick/Redgick_GFX/tree/master/Redgick_MatrixMAX72XX) by [jlebunetel](https://github.com/jlebunetel)\n\nThank you for the inspiration!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrialland%2Fmicropython-max7219","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrialland%2Fmicropython-max7219","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrialland%2Fmicropython-max7219/lists"}