Hey guys,
Ok, so I am trying to wire up 4 (8 x 8) LED matrices = 32 x 8 ok.
I am off to a great start...I have the Datasheet for the Matrix so i know the Rows and columns..
and I'm basing it off of the MAX7219 (I have 4 of those - 1 for each matrix)
I'm wiring it up via this site:
http://www.arduino.cc/playground/Main/MAX72XXHardware#Wiring
and with the Mega 2560, using the SPI library, we would use these pin outs:
// SPI pin outs used for this on the Mega 2560 are: SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS)
// We just need to use SCK - pin 52 MOSI - Pin 51 and SS - pin 53
// MOSI (Arduino) = Serial Data Out from Arduino (Asynchronous ~ Series) to Serial Data In (MAX7219)
// SCK (Arduino) = CLK (MAX7219)
// SS (Arduino) = Load (Synchronous ~ Parallel ) on MAX7219
// The 4 MAX7219s will be cascaded
I have seen a lot of code for scrolling text, but it seems like everyone uses the old LedControl or Matrix libraries..I just want to keep it simple and use the SPI library.
Can any coders out there give me a jumpstart help on the array to maybe just scroll "Arduino" across the matrices?
so for starters:
include <SPI.h>
// SPI pin outs used for this on the Mega 2560 are: SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS)
// We just need to use SCK - pin 52 MOSI - Pin 51 and SS - pin 53
// MOSI (Arduino) = Serial Data Out from Arduino (Asynchronous) to Serial Data In (MAX7219)
// SCK (Arduino) = CLK (MAX7219)
// SS (Arduino) = Load (Synchronous) on MAX7219
// The 4 MAX7219s will be cascaded
void setUp ()
{
...what could go here?
}
void loop ()
{
....what could go here?
}