Close

Adding sprite buffer and preload letters

A project log for TWI or UART to HUB75 matrix driver - Koakuma V3

Easy to use, cheap, and adafruit ecosystem compatible. Drive up to 64x64 rgbled matrices via TWI commands

phil-weaselPhil Weasel 02/26/2025 at 08:590 Comments

So the way this screen works is by buffering 8x8 sprites and displaying them on demand.
The sprite buffer is just a multidimensional array of 100x8x8 bytes.
At startup all 100 bytes are blank, but i preloead bytes 64-90 with letters and 48-57 with numbers. Yes according to the ascii table.

My plan is to make the commands be like "DrawSprite(number, Xpos, YPos);". So drawing an "A" could be like "DrawSprite('A', 15, 6);"

First test: I just display the Name, Version and TWI-Address on startup.

Great success!

Discussions