This is a sample code to control an RGB LED matrix video wall panel using a STM32F1 (Bluepill). The code is inefficient, doesn't use DMA and probably unreadable - you have been warned.
- Create a new image with the correct size (for example 64x32)
- Use colo indexing to get down to the desired number of colors
- You can use the color index "4-setp-map.txt" included
- Save/Export as C header file (.h)
- edit h-to-php.php and use it to convert the h-file to a precomputed mess of arrays
- save it as logo.h or edit main.c and compile