Cascade two MAX7219s

Have one MAX7219 running an 8x8 martrix using MD_MAX72XX library. Working great.

Now trying to cascade 2 MAX7219 chips.

Searched forum and datasheet and now I think they are wired together properly.

Question 1. Do I need to change anything in lib.h, or .h or .ino files to turn on cascading in addition to #define MAX_DEVICES.

Question 2: Is there some bare bones code I can run to test my setup? There are many examples in MD_MAX72xx but they are complex. Would just like to turn on a row of LEDs across both matrices as a test and to learn how to control the MAX7219.

thank you

RichKC24:
Have one MAX7219 running an 8x8 martrix using MD_MAX72XX library. Working great.

Now trying to cascade 2 MAX7219 chips.

Searched forum and datasheet and now I think they are wired together properly.

Question 1. Do I need to change anything in lib.h, or .h or .ino files to turn on cascading in addition to #define MAX_DEVICES.

Question 2: Is there some bare bones code I can run to test my setup? There are many examples in MD_MAX72xx but they are complex. Would just like to turn on a row of LEDs across both matrices as a test and to learn how to control the MAX7219.

thank you

seek and ye shall find.

duckduckgo.com search for "arduino sketches for max7219"

http://playground.arduino.cc/Main/LEDMatrix

Tried them. Is there anything I need to set in the .h, lib.h or .ino files to turn on cascade to second MAX7219?

RichKC24:
Tried them. Is there anything I need to set in the .h, lib.h or .ino files to turn on cascade to second MAX7219?

I do not have these items. How am i suppose to know if you need to change something?


Or

Send all data at one time.

Thanks Larry. Had a wiring error.

RichKC24:
Tried them. Is there anything I need to set in the .h, lib.h or .ino files to turn on cascade to second MAX7219?

You, obviously did not try them for if you had you would have found the wiring error.

For completeness:

Question 1. Do I need to change anything in lib.h, or .h or .ino files to turn on cascading in addition to #define MAX_DEVICES.

Nothing else. Once you have changed the library header file for your LED atrix type, the number of matrices are set at run time.

Question 2: Is there some bare bones code I can run to test my setup? There are many examples in MD_MAX72xx but they are complex. Would just like to turn on a row of LEDs across both matrices as a test and to learn how to control the MAX7219.

The hardware testing example with MD_MAX72xx library is a simple example if you ignore all the text to help the user figure out what is happening.