i have been fiddling around with one of these p10 16x32 rgb led matrix modules
eg
https://nl.aliexpress.com/item/32382...20184a1dvBgHZN
don't be confused by 1/8 scan ones like i thought i had purchased, it took a few attempts for
the penny to drop why it would not work properly as 1/8 scan. turns out its 1/4 scan
here's some examples trying out a few methods of driving them in simple 1/4 scan 8 colour mode
first go
1 nibble/pixel frame buffer (fb) mapped as rows 0-7 low nibble 8-15 high nibble
Attachment 8840
second go
1 bit/pixel/colour fb mapped as rows 0-15 bits 0-31 / row
Attachment 8841
then
double buffering fb to a output buffer in scan interleave order
Attachment 8842
progressing
along to as an isr background task
the bit/pixel stuff is pretty close to compatable with glcd type graphics
if done once for each colour
some examples in last file
eg
https://nl.aliexpress.com/item/32382...20184a1dvBgHZN
don't be confused by 1/8 scan ones like i thought i had purchased, it took a few attempts for
the penny to drop why it would not work properly as 1/8 scan. turns out its 1/4 scan
here's some examples trying out a few methods of driving them in simple 1/4 scan 8 colour mode
first go
1 nibble/pixel frame buffer (fb) mapped as rows 0-7 low nibble 8-15 high nibble
Attachment 8840
second go
1 bit/pixel/colour fb mapped as rows 0-15 bits 0-31 / row
Attachment 8841
then
double buffering fb to a output buffer in scan interleave order
Attachment 8842
progressing
along to as an isr background task
the bit/pixel stuff is pretty close to compatable with glcd type graphics
if done once for each colour
some examples in last file