SureElectronics 3216 Led Matrix

I'll appreciate the code! ;D

I tried to rewrite the chipselect function too but without success.