Extension idea - a method to do a direct framebuffer transfer from PC #198
Replies: 1 comment 3 replies
|
Hi @kocinski15 Regarding your code, I understand it's just an example to illustrate the idea? Since it writes the same value across all bitplanes... |
Uh oh!
There was an error while loading. Please reload this page.
I am throwing in an idea that is very simple to implement that opens a new mode of operation:
Raw writing the whole framebuffer.
A new method:
/--------------------------------------------------------------------------------------/
void DMD_RGB_BASE::loadFrame(const uint8_t* src, uint16_t len)
{
uint16_t expected = nRows * WIDTH;
if (len != expected) return;
}
this method opens opportunity to do the graphics preparation on external machine and simply transfer bulk farmebuffer basically turning controller into a simple pixel pump.
If you share my thoughts, please check out the code and add this functionality.
A fast DMA based UART transfer will be enough to offload all graphics and focus on abstraction layer of pixel pumping to various models of LED modules.
All reactions