Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added another driver option for running Adafruit::GFX code on rPi #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.
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 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 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