This commit is contained in:
mrfaptastic 2018-10-23 01:11:47 +01:00
commit ed653bc89b

View file

@ -2,7 +2,9 @@
ESP32 Arduino library for P3 64x32 RGB LED Matrix Panel, which leverages the DMA functionality of the ESP32's I2S 'LCD Mode' which bascially means that pixel data can be sent straight from memory, via the DMA controller, to the relevant GPIO pins (RGB Matrix) with no overhead to either CPU! Most other library require the CPU to constantly bit-bang the GPIO (either with SPI as well), which results in flickery outcomes when using either CPU and decreased performance of your sketch. ESP32 Arduino library for P3 64x32 RGB LED Matrix Panel, which leverages the DMA functionality of the ESP32's I2S 'LCD Mode' which bascially means that pixel data can be sent straight from memory, via the DMA controller, to the relevant GPIO pins (RGB Matrix) with no overhead to either CPU! Most other library require the CPU to constantly bit-bang the GPIO (either with SPI as well), which results in flickery outcomes when using either CPU and decreased performance of your sketch.
This software is released under the MIT License, see LICENSE.txt. As a result, this library can provide 24 bit colour, at various brightness levels without resulting in flicker.
![It's better in real life](image.jpg)
# Installation # Installation
@ -21,8 +23,7 @@ Please refer section 3.3. in https://www.espressif.com/sites/default/files/docum
# Wiring ESP32 with the LED Matrix Panel # Wiring ESP32 with the LED Matrix Panel
The panel has HUB75 compatible pins. The library provides two constructors. If you wish to change this, you will need to adjust in the header file.
One with default pin wiring like:
``` ```
+-----------+ Panel - ESP32 pins +-----------+ Panel - ESP32 pins
@ -46,12 +47,13 @@ Work in progress at the moment. Run the .ino file once hooked up.
# Notes # Notes
Currently WIP. Dirty demo code only. Currently WIP. Seems to work extremly well and drive a RGB panel with 24bit color at very high refresh rates.
Seems to work extremly well and drive a RGB panel with 24bit color at very high refresh rates.
Based off highly modified 'SmartMatrix' code. # Credits
Based off the 'SmartMatrix' project code: https://github.com/pixelmatix/SmartMatrix/tree/teensylc
Which is based off Sprite_TM's demo implementation here:
Credits:
https://www.esp32.com/viewtopic.php?f=17&t=3188 https://www.esp32.com/viewtopic.php?f=17&t=3188
https://www.esp32.com/viewtopic.php?f=13&t=3256 https://www.esp32.com/viewtopic.php?f=13&t=3256