Hi,
Can you clarify your instructions a little bit?
I have LEDcontrol set up now for just one max72xx, and I'd like to simply swap your library in so I can use real SPI.
I now have:
#include "LedControl.h"
LedControl lc=LedControl(11,13,10,1); // lc is our object
/* format is: LedControl(data pin, clock pin, load pin, 1) */
/* arduino pin 11 is connected to DATA [pin 1 on max7219] */
/* arduino pin 13 is connected to CLK [pin 13 on max7219] */
/* arduino pin 10 is connected to LOAD [pin 12 on max7219] */
void setup()
{
lc.shutdown(0,false); // The MAX72XX is in power-saving mode on startup,we have to do a wake up call
lc.setIntensity(0,5); // set the brightness to a value 1-15
lc.clearDisplay(0); // clear the display
lc.setScanLimit(0,1); // set chip number 0 to drive 2 digits
lc.setChar(0,0,'d',false);
lc.setChar(0,1,'b',false);
Can you suggest what small changes to code need to made to this setup, and what files/directory structure to create to use your library?
Thanks very much.