• Stars
    star
    195
  • Rank 199,374 (Top 4 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Adafruit GFX compatible library for NeoPixel based Matrices using FastLED library

FastLED NeoMatrix: Matrix with FastLED using Adafruit::GFX API

Blog post with details and pictures: http://marc.merlins.org/perso/arduino/post_2018-04-23_FastLED_NeoMatrix-library_-how-to-do-Matrices-with-FastLED-and-Adafruit_GFX.html

Adafruit_GFX and FastLED-compatible library for NeoPixel matrices and grids. Controls single and tiled NeoPixel displays.
This library requires FastLED and Adafruit_GFX libraries as well as this base class library:

Adafruit::NeoMatrix vs FastLED::NeoMatrix

This code was taken from Adafruit_NeoMatrix and adapted to work with the more powerful FastLED library. The reasons for using FastLED instead of Adafruit::Neopixel as a backend, include:

How to use the API? It's very close to Adafruit_NeoMatrix, to see an example, you can compare
https://github.com/adafruit/Adafruit_NeoMatrix/blob/master/examples/MatrixGFXDemo/MatrixGFXDemo.ino with
https://github.com/marcmerlin/FastLED_NeoMatrix/blob/master/examples/MatrixGFXDemo/MatrixGFXDemo.ino

You can find a lot of demo code here: https://github.com/marcmerlin/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos as well as a big integrated demo here: https://github.com/marcmerlin/NeoMatrix-FastLED-IR
Most my demos rely on this big file that lets you configure your panel(s) type and size and have it work with all the demo code. It allows using the exact same code on neopixel arrays, rgbpanels, tft screens, and even your linux computer.

This FastLED_NeoMatrix requires:

Tiled Matrixes, Zig-Zag and so forth

See Adafruit's NeoMatrix description, which this lib is fully compatible, with: https://learn.adafruit.com/adafruit-neopixel-uberguide/neomatrix-library image

Custom Mappings (non rectangular array)

If you have a custom made design where the pixels are not in a rectangular pattern, you need to provide a myRemapFn which is then fed to the matrix with "matrix->setRemapFunction(myRemapFn)"
See #6 for an example.

Demos

Video demo: https://www.youtube.com/watch?v=tU_wkrrv_4A

164_20170424_adafruit_gfx_on_neomatrix_32x32 171_20170424_adafruit_gfx_on_neomatrix_32x32

More Repositories

1

FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos

Various Arduino 2D demos that work all hardware backends supported by FrameBuffer::GFX
C
94
star
2

SmartMatrix_GFX

SmartMatrix::GFX: Allow using Adafruit::GFX as well as FastLED_NeoMatrix code with SmartMatrix backend,
C++
80
star
3

LED-Matrix

Single/bi/tri-color LED Matrix PWM driver for arduino (direct IO or Shift Register connected)
C++
60
star
4

NeoMatrix-FastLED-IR

C
48
star
5

NewLiquidCrystal

LiquidCrystal library with object support to allow for multiple kinds of connections (3 wires through shift registers, or even a 2 wire SR hack) I2C support is unmaintained and probably broken
C++
34
star
6

Framebuffer_GFX

Framebuffer::GFX is base Class for SmartMatrix::GFX, NeoMatrix::GFX, FastLED_SPITFT_GFX, FastLED_RPIRGBPanel_GFX, FastLED_TFTWrapper_GFX, and more
C++
30
star
7

android-adb-backup

Backing up and restoring android apps via adb root (when you can't run TiBackup due to lack of SuperSU support)
Shell
28
star
8

IoTuz

IoTuz driver for ESP32 based LCA 2017 IoTuz board, also can be used as a demo on an espressif WROVER
C++
28
star
9

Neopixel-IR

Run NeoPixel strands as controlled by IR remote on AVR, Teensy 3.1, ESP8266, and ESP32
C++
18
star
10

FastLED_RPIRGBPanel_GFX

Run Arduino Code on rPi and display a FrameBuffer::GFX display on an RGBPanel at higher resolution than arduino chips, can
C++
8
star
11

FastLED_SPITFT_GFX

Support for SPI driven TFT screens supported by Adafruit::GFX (like SSD1331 or ILI3941)
C++
8
star
12

FastLED_ArduinoGFX_TFT

Support for SPI driven TFT screens supported by Arduino::GFX
C++
6
star
13

Table_Mark_Estes

Mark Este's Table code modified to work with just a matrix
6
star
14

LEDSprites-Pacman

Improved PacMan example using LEDSprites from LEDMatrix
3
star
15

FastLED_TFTWrapper_GFX

Wrapper to use https://github.com/marcmerlin/ArduinoOnPc-FastLED-GFX-LEDMatrix as display backend
C++
3
star
16

tft-playground

C++
1
star
17

FastLED-IR

C++
1
star
18

v4lcapture-yuv2ppm

Contains trimmed down v4lcapture for USB camera and improved yuv2ppm that supports YUV422 and YUY2 aka YUYV
C
1
star