From 1c6c3d7c2337ddbf396f33f80f8fda3896a7dfb5 Mon Sep 17 00:00:00 2001 From: Marc MERLIN Date: Mon, 13 Jan 2020 23:31:15 -0800 Subject: [PATCH 1/2] Added another driver option for running Adafruit::GFX code on rPi --- README.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.txt b/README.txt index a0a6773..373c112 100644 --- a/README.txt +++ b/README.txt @@ -20,3 +20,14 @@ If you need support for RGB888 (24bpp) and need to/can run on Teensy 3.1/3.2/3.5 ESP32 chips (not supported by RGB-matrix-Panel), please look at https://github.com/marcmerlin/SmartMatrix_GFX which offers a GFX compatibility layer on top of https://github.com/pixelmatix/SmartMatrix + +If you have RGBPanels of 128x128 or higher or unsupported panels (AB or AC), and you'd +like to use them, another driver is needed. +For both problems, you can use https://github.com/hzeller/rpi-rgb-led-matrix/ , however it requires you to use a raspberry pi, which is a problem if your current code is using Adafruit::GFX. + +Thankfully, there is now a solution from Marc MERLIN: +http://marc.merlins.org/perso/arduino/post_2020-01-01_Running-FastLED_-Adafruit_GFX_-and-LEDMatrix-code-on-High-Resolution-RGBPanels-with-a-Raspberry-Pi.html.   +This solution allows you to build arduino code so that it works on linux and uses these layers: +- https://github.com/marcmerlin/ArduinoOnPc-FastLED-GFX-LEDMatrix +- https://github.com/marcmerlin/Framebuffer_GFX is the base arduino framebuffer that supports more 2D arduino code +- https://github.com/marcmerlin/FastLED_RPIRGBPanel_GFX is the driver that bridges that framebuffer and the APIs it supports (FastLED, Adafruit::GFX, and LEDMatrix), with rpi-rgb-led-matrix for display From a3383d44a8a424b85d5209cb09144ea962f88998 Mon Sep 17 00:00:00 2001 From: Marc MERLIN Date: Fri, 24 Jan 2020 11:23:36 -0800 Subject: [PATCH 2/2] more details on the alternate driver --- README.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 373c112..4184579 100644 --- a/README.txt +++ b/README.txt @@ -21,13 +21,13 @@ ESP32 chips (not supported by RGB-matrix-Panel), please look at https://github.com/marcmerlin/SmartMatrix_GFX which offers a GFX compatibility layer on top of https://github.com/pixelmatix/SmartMatrix -If you have RGBPanels of 128x128 or higher or unsupported panels (AB or AC), and you'd +If you have RGBPanels of up to at least 256x256 or unsupported panels (AB or AC, or using FM6126A), and you'd like to use them, another driver is needed. -For both problems, you can use https://github.com/hzeller/rpi-rgb-led-matrix/ , however it requires you to use a raspberry pi, which is a problem if your current code is using Adafruit::GFX. +You can use https://github.com/hzeller/rpi-rgb-led-matrix/ , however it requires you to use a raspberry pi, which is a problem if your current code is using Adafruit::GFX. Thankfully, there is now a solution from Marc MERLIN: -http://marc.merlins.org/perso/arduino/post_2020-01-01_Running-FastLED_-Adafruit_GFX_-and-LEDMatrix-code-on-High-Resolution-RGBPanels-with-a-Raspberry-Pi.html.   +http://marc.merlins.org/perso/arduino/post_2020-01-01_Running-FastLED_-Adafruit_GFX_-and-LEDMatrix-code-on-High-Resolution-RGBPanels-with-a-Raspberry-Pi.html explains the new solution in https://github.com/marcmerlin/ArduinoOnPc-FastLED-GFX-LEDMatrix This solution allows you to build arduino code so that it works on linux and uses these layers: - https://github.com/marcmerlin/ArduinoOnPc-FastLED-GFX-LEDMatrix -- https://github.com/marcmerlin/Framebuffer_GFX is the base arduino framebuffer that supports more 2D arduino code +- https://github.com/marcmerlin/Framebuffer_GFX is the base arduino framebuffer that also supports more 2D arduino code in addition to Adafruit::GFX - https://github.com/marcmerlin/FastLED_RPIRGBPanel_GFX is the driver that bridges that framebuffer and the APIs it supports (FastLED, Adafruit::GFX, and LEDMatrix), with rpi-rgb-led-matrix for display