Skip to content

This MicroPython LED Matrix library is designed for any hardware platform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit...

License

Notifications You must be signed in to change notification settings

DIYables/DIYables_MicroPython_LED_Matrix

Repository files navigation

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

About

This MicroPython LED Matrix library is designed for any hardware platform that supports MicroPython such as Raspberry Pi Pico, ESP32, Micro:bit...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages