Hi all. Do you own the Duinotech 16x16 LED module, XC-4607? It may also be sold under different names or branded different. Have you tried to download a library to control it? The only library that seems to be available, "LedMatrixObject.h" seems to be flawed, it doesnt light the display evenly or very bright, and it slows the Arduino down to a crawl. It also doesnt make use of the Arduino's timer interrupts, so you have to refresh the display in your sketch. Well, I have attached some code that you should be able to download straight into your Arduino IDE, it's in plain text form, that will allow you to easily control the display. It isnt library based, and doesnt use the LedMatrixObject.h library. The only library it requires is the Timer1 Library, which most updated versions of the IDE should already have.Simply load it into your IDE, and insert your own code after the loop() { - in between the two rows of asterixes.
Commands included allow you to Invert the image, scroll the image, rotate the image, draw lines down and across the display, Flip the state of a pixel, and check the current state of a pixel. And, it runs the display brighter and more evenly than the existing library, plus your loop() code will run faster. Enjoy!
Hi all.
Do you own the Duinotech 16x16 LED module, XC-4607?
It may also be sold under different names or branded different.
Have you tried to download a library to control it?
The only library that seems to be available, "LedMatrixObject.h" seems to be flawed, it doesnt light the display evenly or very bright, and it slows the Arduino down to a crawl.
It also doesnt make use of the Arduino's timer interrupts, so you have to refresh the display in your sketch.
Well, I have attached some code that you should be able to download straight into your Arduino IDE, it's in plain text form, that will allow you to easily control the display.
It isnt library based, and doesnt use the LedMatrixObject.h library.
The only library it requires is the Timer1 Library, which most updated versions of the IDE should already have.
Simply load it into your IDE, and insert your own code after the loop() { - in between the two rows of asterixes.
Commands included allow you to
Invert the image,
scroll the image,
rotate the image,
draw lines down and across the display,
Flip the state of a pixel,
and check the current state of a pixel.
And, it runs the display brighter and more evenly than the existing library, plus your loop() code will run faster. Enjoy!
Sorry, but if you went back and read your original post it would have most of us lost after the second line.
You need to post a link to this Duinotech Module.
And if you have one of these modules, then I too am sorry, because they are kinda obsolete - I noticed my local Jaycar selling them off slightly cheaper last week.
Nowadays, you use the stackable MAX7219 modules, quite cheap from eBay.
Four of them gives you a 16 by 16, but you can easily stack more.
You can then forget about multiplexing and uniform, bright illumination of the display. You use the "Parola" library which is now in the IDE to control them.