almindor / max7219

A platform agnostic driver to interface with the MAX7219 (LED display driver)
MIT License
16 stars 7 forks source link

feat: write raw byte. #10

Closed 2e0byo closed 10 months ago

2e0byo commented 11 months ago

This is a simple passthrough to the method on the controller. Most users probably won't want it, but when a max7219 is connected to a dot-matrix display and used as a display with embedded_graphics it may make sense to be able to address the display in the smallest possible unit. (For instance, an efficient display updating algorithm can keep the previous state in a framebuffer and only send the commands needed to update those bytes which have changed.)

The alternative of making the connector public seems much more drastic.

Thanks for the library!

2e0byo commented 11 months ago

Sure, I'll do it after work today.