For my Arduino Fusion project, which will be released soon, I was looking for short code to use with the MAX7219 8×8 LED Matrix Driver Chip, but on the internet you can only find big libs that were unusable for me.
Here you can find only 40 lines of code (normally 500 lines) to download. This is for projects with the aim of accommodating as much as possible in as little space as possible. You can freely assign the 3 needed pins DIN, CLK and LOAD (CS)
In the download are 2 versions included: Matrix access (40 Lines), and String scroll (55 Lines)