Hi, I'm trying to control an 8x8 led matrix using the max7219 (http://datasheets.maxim-ic.com/en/ds/MAX7219-MAX7221.pdf) and a Picaxe 28x1. I am currently unable to make it control the matrix at all, right now half the leds are on and half are off and the picaxe seems to have zero effect on its behaviour. Here is my simple code I am using to try and turn all the leds off:
'CLK - out1
'DIN - out2
'CS - out3
main:
low 3
spiout 1,2,MSBFirst_L,(%00000000/8,%00000000/8)
high 3
goto main
Can anyone tell me if this code is ok or not?
Cheers,
Mike
'CLK - out1
'DIN - out2
'CS - out3
main:
low 3
spiout 1,2,MSBFirst_L,(%00000000/8,%00000000/8)
high 3
goto main
Can anyone tell me if this code is ok or not?
Cheers,
Mike