enchant97 / micropython-max7219

MicroPython driver for MAX7219 8x8 LED matrix modules, cascadable and with framebuf
https://pypi.org/project/micropython-max7219/
MIT License
5 stars 3 forks source link

feat: Adding option to pass display format option. #1

Closed alastairhm closed 1 year ago

alastairhm commented 1 year ago

Adding an optional parameter to allow you to specific the display format of MONO_HLSB, MONO_HMSB or MONO_VLSB.

It will default to MONO_HLSB as before if it isn't passed.

enchant97 commented 1 year ago

Thanks for contribution! I will merge your changes when I have some free time to test it.

I am interested though what the use-case is?

alastairhm commented 1 year ago

There is an example in this file https://github.com/alastairhm/pico_w/blob/main/led_matrix.py

alastairhm commented 1 year ago

You can change the orientation of the display without having to physically rotate it.

alastairhm commented 1 year ago

:)