Also Adafruit::GFX vs SmartMatrix vs FastLED APIs
Since it can be a bit confusing to the newcomer (choice is good but knowing how to choose is better), I tried to write up differences between the 3 hardware libs for RGB Panels, as well as the 3 APIs
SmartMatrix::GFX, Control Scan Based Matrices with SmartMatrix and Adafruit GFX API
===================================================================================
Please have a look at this blog post for more details and pictures:
http://marc.merlins.org/perso/arduino/post_2019-04-01_SmartMatrix_-SmartMatrix-Shield-v4-for-Teensy_-ESP32-shield-with-level-shifter_-and-SmartMatrix_GFX.html
for details, how these panels actually works have a look on this sparkfun post.they have a nice article if you want to understand in depth.
https://www.sparkfun.com/news/2650
Adafruit_GFX and FastLED-compatible library for RGBPanels (row scan matrices).
This library requires FastLED and Adafruit_GFX libraries as well as this base class library:
- https://github.com/marcmerlin/Framebuffer_GFX
Please look at the Framebuffer_GFX page for details on how the APIs work and you can also look the example demo code:
- https://github.com/marcmerlin/FastLED_NeoMatrix/blob/master/examples/MatrixGFXDemo/MatrixGFXDemo.ino
Example demo code:
https://github.com/marcmerlin/FastLED_NeoMatrix/blob/master/examples/MatrixGFXDemo/MatrixGFXDemo.ino388
This library requires SmartMatrix, Adafruit_GFX, and FastLED libraries.
- https://github.com/marcmerlin/Framebuffer_GFX (base class)
This file has been truncated. show original
Feel free to click edit and send me a pull request if I got things wrong, or you’d like to add details.
I’ll share the result with the 3 libs authors in case they want to include it.