Skip to main content

MicroPython Library for LED Matrix display, created by DIYables

Project description

MicroPython LED Matrix Library - DIYables_MicroPython_LED_Matrix

This MicroPython LED Matrix library is designed for any hardware platform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit... to work with the Max7219 LED Matrix. It is created by DIYables to work with DIYables LED Matrix, but also work with other brand LED Matrix. Please consider purchasing LED Matrix 8x8 and LED Matrix 32x8 from DIYables to support our work.

LED Matrix

Product Link

Features

  • Supports ASCII characters, including the degree (째) symbol
  • Allows custom characters (with a provided custom character generator)
  • Trims each character to its actual width and adds configurable spacing, unlike other libraries that fix characters to 8-pixel width, for a more compact and flexible display
  • Compatible with any MicroPython-supported platform, including Raspberry Pi Pico, ESP32, Micro:bit, and more

Available Functions

  • __init__(self,spi, cs, num_matrices=4)
  • clear(self)
  • show(self)
  • set_brightness(self, brightness)
  • print_bitmap(self, bitmap, start_col = 0)
  • print_char(self, char, start_col = 0)
  • print(self, text, spacing=2, col = 0)
  • print_custom_char(self, bitmap, col = 0)

Available Examples

main.py does:

  • display text
  • display custom characters
  • scroll text.py

Tutorials

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diyables_micropython_led_matrix-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file diyables_micropython_led_matrix-0.1.0.tar.gz.

File metadata

File hashes

Hashes for diyables_micropython_led_matrix-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ac8ba37255e994b80e3eaf24789d5fe952d7837550ec253161dea9244e255b3
MD5 4b2ae05a58a809d88d42fefa624c27d8
BLAKE2b-256 7f973635f9874d7b8a45320c586e351111488db4a5cbc90cf9a0b821d023a058

See more details on using hashes here.

File details

Details for the file DIYables_MicroPython_LED_Matrix-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for DIYables_MicroPython_LED_Matrix-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eda674d3f1c80bf6b6a2719f8bdebe8cd9416ca54925a73775615c68c888901e
MD5 dcb7a404c50e9c2876b0fab465f7c0ad
BLAKE2b-256 9f896b387ae2317286b252e23d43979531b000e93f9356d1b033965cff5e2a35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page