LedController
2.0.2
A library for the MAX7219 and the MAX7221 Led display drivers.
|
Check the sakurajin::controller_configuration for more infomation about its functions or look for the Examples.
This tutorial explains some of the fields of the sakurajin::controller_configuration and how to use it properly. All the attributes are explained on the page for the sakurajin::controller_configuration, look there if anything is missing. On this page each option also lists when it was introduced.
To determine the required options there are a few choices that need to be made.
First off you need to choose between Hardware SPI and Software SPI. You can find more information about it on this page.
If you choose Software SPI you need to set the following options:
If you choose hardware SPI the following option need to be set:
First off this decision has to be made even if there is only one row (in that case it does not matter which one since they behave the same). For the multi row support you have to decide between virtual multi row or real multi row. You can read the page on multi row for more information on how this works.
Virtual multi row is the default and the enabled mode when no changes are mode from previous versions. For virtual multi row you have to set the following options:
For real multi row the following option have to be set:
If you only have one row you can set either SPI_CS or row_SPI_CS[0] and you can ignore virtual_multi_row.
The following options are optional and the default value should work fine in most cases.
The following options where removed at some point.