An Arduino library for driving dot matrix displays. Currently, only ESP32 is supported.
This library also supports AdafruitGFX, so display manipulation can be easily done
using AdafruitGFX functionalities.
- HUB12 dot matrix panel.
This library was already published to Arduino Library Registry. You can find it by searching FthnLabsDisplay. Quickly hit the install button to add the library to your computer.
You can also manually install the library. Clone the this repository, then move it to {Arduino Directory}/libraries. Then you can include it into your sketch.
#include <FthnLabsDisplay.h>
To setup a simple example provide in examples/simple, at least there must be 3 components, ESP32 Dev Module, IC 74HCT245 (HC can also be used if you are using just few panel), and a P10 dot matrix panel.
You can have a look this code snippet in config.h file
uint8_t oePin = 22;
uint8_t clkPin = 18;
uint8_t latPin = 2;
uint8_t aPin = 19;
uint8_t bPin = 21;
uint8_t rDataPin = 23;
You can actually changed the pins if you are using it for another purpose. Pay attention to boot strapping pins, they requires some condition to boot the ESP32 normally. This library utilizes SPI interface to transfer data to the panel, so rDataPin cannot be changed, since it is tied to MOSI pin.
Test your setup by uploading a sample code in examples/simple.
- Animation (fade-in, fade-out, slide-in, slide-out)
- Running Text
You can request a specific feature for the next release by opening an issue here.
If you found any bugs in the library, you can open new issue here.
To improve this library, I spend times, money, and energy. Any amount of support will be appreciated. If you found this project useful, you can support me via: