|
MaxMatrix
Drive chained 8x8 LED dot matrix modules with MAX7219.
|
Configuration of the MaxMatrix library. More...
Go to the source code of this file.
Macros | |
| #define | MAXMATRIX_USE_SPI STD_OFF |
| STD_ON sends through the hardware SPI, whose pins are fixed; STD_OFF bit bangs on any three pins. | |
| #define | MAXMATRIX_SPI_CLOCK_SPEED 10000000 |
| The SPI clock in Hz; the MAX7219 takes 10 MHz at most. | |
| #define | MAXMATRIX_SPACE_BETWEEN_CHARS_INIT_VALUE 1 |
| The empty columns between two chars of a text, until Matrix::SetSpaceBetweenChars(). | |
| #define | MAXMATRIX_INTENSITY_INIT_VALUE 5 |
| The intensity Matrix::Init() sets, 0 to 15. | |
| #define | MAXMATRIX_COMMAND_LINE_LENGTH 64 |
| The chars of a line Command takes; it costs twice as many bytes of RAM. | |
| #define | MAXMATRIX_SHIFT_INTERVAL_INIT_VALUE 50 |
| The milliseconds per column of a shifting text, until Matrix::SetShiftInterval(); 0 for a step on every call. | |
Functions | |
| constexpr size_t | max_matrix::BufferSize (size_t modules) |
| The bytes of the buffer of a chain, one per column. | |
Configuration of the MaxMatrix library.
The parameters every part of the library builds on: the size of the chain and how it is driven.
|
constexpr |
The bytes of the buffer of a chain, one per column.
| [in] | modules | The modules of the chain. |