I have downloaded the MaxMatrix library from GitHub using the Green Dropdown Code -> download ZIp link. I also removed the -master from the filename So it is just MaxMatrix.zip. However, when trying to install the library into Arduino IDE 2.2.1 via the Add .ZIP library... in Sketch -> Include Library -> Add .ZIP library... I get the following error:
Error: 13 INTERNAL: Library install failed: moving extracted archive to destination dir: library not valid.
First of all, unless you have a specific reason for wanting to use this library, I would recommend considering using an alternative library. This library is organized in a way that is very unfriendly to Arduino users and is not actively maintained so I fear the quality of the code might be poor (though I haven't evaluated it).
I see there are several other nice looking libraries for MAX7219-driven LED matrixes available for installation from the Arduino IDE Library Manager.
That said, I'll go ahead and provide instructions you can follow to install the library. The reason for the error message when you attempted to use Arduino IDE's "Add .ZIP Library..." feature to install the library is that feature requires the ZIP file to have a specific standardized structure. Unfortunately the author of the library created a non-standard structure that makes it incompatible with this installation method. For this reason, it will be necessary to manually install the library by following the instructions below:
Select File > Preferences from the Arduino IDE menus.
The "Preferences" dialog will open.
Take note of the path shown in the "Sketchbook location" field of the "Preferences" dialog.
Click the "CANCEL" button in the "Preferences" dialog.
There are actually three different libraries in this ZIP file, which are mutually incompatible. Decide which of the three you want to use.
Find the subfolder of the unzipped folder for the library you chose:
If you want to use the "async, no_orientation" library:
async\no_orientation\MaxMatrix
If you want to use the "async, orientation" library:
async\orientation\MaxMatrix
If you want to use the "sync" library:
sync\MaxMatrix
Copy that subfolder to the libraries subfolder of the folder at the path you saw in the "Sketchbook" location field of the Arduino IDE preferences in step (2) of these instructions.
The final installation structure must look like this:
Ptillisch, Thank you so much for the information. As I am at work at the moment I will need to wait until I am at home to check it out. The reason for the library was that I saw some code that looks like it may do what I want, but needs this particular library. I appreciate your words of caution about the MaxMatrix library, and I may decide to go with one of the other libraries for Dot Matrix displays.
Marco_c, Thanks, i have seen references to MD_Parola and MD-Max72xx.I am trying to create a display of 2 rows and 10 columns. I will definitely look at the MD_ series of Libraries (they are easier to install as well)