Controlling a LED matrix

A while ago, I got 4 matrix displays (8×8, cheap Chinese), each connected to a max7221. So, I was curious to try out how to write something on them.

Arduino source code is available