Closed wavewolf closed 6 years ago
Also posted at http://forum.arduino.cc/index.php?topic=531890.
Pins 2-7 cannot be reassigned. The code uses PORT-wide writes for the 6 color data lines, it's the only way to operate fast enough on an AVR. Other various control signals can be assigned to other pins (as passed to the constructor), but those 6 are simply not negotiable.
I got it. I have neutralized the red color at the top of the screen (I didn't need it) and I already have the digital pin 2 FREE.
Hi, I'm using two different libraries in my arduino code and my problem is that one of them lets me assign the pins in the same code that I do, but the other library(RGB-matrix-Panel) assumes the digital pins privately and I dont know how to change the assignment of the pins. I need to change the assignment of the digital pin 2 to the digital pin 12.