Open ChristianKnorr opened 2 days ago
Hi Christian,
well I have several news on this.
If you don't have the time to wait, you should be able to easily implement it by yourself by following these steps:
The idea I am following is: The change the number scheme of the IO pins in the button array to something like this:
Button buttons[ROWS][COLS] = {
{ (001), (002), (003) },
{ (004), (005), (006) },
{ (101), (102), (103) }
};
Notice the last row contains numbers starting from 100! This way you can easily determine the MCP instance by
int MCP_board_num = <pin number> / 100;
int MCP_pin_num = <pin_number> % 100;
With this algorithm up to ten boards could be supported in theory and it is also easily configurable without any complicated math.
Hope this helps!
Best regards RenΓ©
Unfortunately it's too much for my skills, so I have to wait π€·ββοΈπ Many thanks! π
My Problem is solved. No, it's another, it's not a big matrix. So, my solution is to use 3 MCP's for 3 matrixes.
Tank you π
Hi, how can I use multiple MCP's for a big Matrix? I have a Keyboard-Matrix with 7 Cols and 25 Rows.
Thank you