Actual testing has revealed that GFX_Root doesn't actually save any program or memory. Apparently uses more according to the compiler.
Defaulting the library back to Adafruit GFX.
With Adafruit GFX:
Sketch uses 801298 bytes (61%) of program storage space. Maximum is 1310720 bytes.
Global variables use 48992 bytes (14%) of dynamic memory, leaving 278688 bytes for local variables. Maximum is 327680 bytes.
With GFX_Root:
Sketch uses 804962 bytes (61%) of program storage space. Maximum is 1310720 bytes.
Global variables use 49008 bytes (14%) of dynamic memory, leaving 278672 bytes for local variables. Maximum is 327680 bytes.
After a lot of trial and error, I believe I've found the resolution to the ghosting, and it's as simple as reducing the brightness level to 60. The actual brightness doesn't change it seems, but the timing of the OE pin being set HIGH is performed earlier which can work better on some panels.
Closes: #14#12
Closes issue #4
Use something like:
' display.begin(R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN ); // setup the LED matrix'
with R1_PIN etc. referring to your own define or constant variables