pippin88:
My matrix is 6x16 (6 rows, 16 columns).
Now that I have the Max7219s in the correct order, your code works great, however the bottom two rows don't exist, so of course the font is cut off at the bottom.
You will have to re-design the font as it's currently 7 rows high.
Can you point me in the right direction for modifying the code to work with my size matrix?
Every character would need to be reduced in height.
From this...
B00111111, B00000000, //A
B11000000, B11000000,
B11000000, B11000000,
B11000000, B11000000,
B11111111, B11000000,
B11000000, B11000000,
B11000000, B11000000,
12,
to something like this...
B00111111, B00000000, //A
B11000000, B11000000,
B11000000, B11000000,
B11111111, B11000000,
B11000000, B11000000,
B11000000, B11000000,
B00000000, B00000000,
12,
You would also need to do the same to the 6x7 number font. You could also adjust the code to take account of the smaller font but it's easier if you just reduce the height and leave the padding at the bottom to maintain 7 rows of font data and one kerning value.
EDIT: Looks like SetScanLimit might be what I need, will have a fiddle.
Scan limit will not help here as the font is physically to large to fit in 6 rows.