Code for LED matrix with shift registers.
I got it working with this code.
https://www.sunfounder.com/learn/Super_ ... rrypi.html
But trying to write text or graphics with that code is rather difficult. It's using only two bytes to write to the shift registers.
I found several editors that generate text and graphic code. This seems to be the best.
But the problem is how to use it! The python code I'm using is using a 2 byte system, 1 byte for rows and the other byte for columns.
And all editors/code generators are generating 8 bytes, one byte for each row.
How do i adapt or write code for that? Have been googling for hours for examples but no luck.
All code I'm finding is using max7219/21 and not the shift registers.
Anyone got any idea how to solve this? Any help appreciated!
Edit: I'm aware that the generator is creating c code, but converting it to python is a minor issue. The problem is how to convert the 8 byte data and send it to the shift registers.