Hello,
I am working with MAX7219 8x8 single-color matrix. Ofcourse I am using LedControl.h library. And I got one little issue: I saw one guy on the internet doing the same project, but with bi-color 8x8 led matrix... So he is using ht1632.h library(it's almost the same like mine). And I can't find an appropriate guide how ht1632 library is working?
So I got some code lines from ht1632 project:
dotmatrix.line(4, 15, 8, 7, GREEN); // I don't understand what those digits in brackets mean
dotmatrix.line(4, 15, 8, 7, BLACK);
dotmatrix.line(4, 15, 8, 7, ORANGE);
dotmatrix.line(4, 15, 8, 7, RED);
dotmatrix.plot(4, 15, GREEN);
It almost looks like LedControl.h library coding:
lc.setLed(0, 0, 0, true); // Explanation: lc.setLed(display number, row number, col number, true/false(light or not))
lc.setRow(0, 0, array[num]); // Explanation: lc.setRow(display number, row number, byte array)
lc.setCol(0, 0, array[num]); // This is the same thing, but it's made to set column
I understand how to convert colors from ht1632 to LedControl, for example: BLACK = false; GREEN = true. But the main thing is to find out what those digits in brackets truly mean.
Thank you for your help.