12#ifndef MAXMATRIX_SRC_MAXMATRIXCONFIG_H_
13#define MAXMATRIX_SRC_MAXMATRIXCONFIG_H_
33#ifndef MAXMATRIX_USE_SPI
34#define MAXMATRIX_USE_SPI STD_OFF
38#ifndef MAXMATRIX_SPI_CLOCK_SPEED
40#define MAXMATRIX_SPI_CLOCK_SPEED 10000000
45#ifndef MAXMATRIX_SPACE_BETWEEN_CHARS_INIT_VALUE
47#define MAXMATRIX_SPACE_BETWEEN_CHARS_INIT_VALUE 1
51#ifndef MAXMATRIX_INTENSITY_INIT_VALUE
53#define MAXMATRIX_INTENSITY_INIT_VALUE 5
58#ifndef MAXMATRIX_COMMAND_LINE_LENGTH
60#define MAXMATRIX_COMMAND_LINE_LENGTH 64
67#ifndef MAXMATRIX_SHIFT_INTERVAL_INIT_VALUE
69#define MAXMATRIX_SHIFT_INTERVAL_INIT_VALUE 50
75#ifndef MAXMATRIX_DEV_ERROR_DETECT
76#define MAXMATRIX_DEV_ERROR_DETECT STD_OFF
constexpr uint8_t kMaxNumberOfModules
The most modules a chain may have: a column is counted in a byte throughout, as an index into the buf...
Definition MaxMatrixConfig.h:92
constexpr uint8_t kColumnNumberOfModule
The columns of one module.
Definition MaxMatrixConfig.h:82
constexpr size_t BufferSize(size_t modules)
The bytes of the buffer of a chain, one per column.
Definition MaxMatrixConfig.h:100
constexpr uint8_t kRowNumberOfModule
The rows of one module, and of the matrix.
Definition MaxMatrixConfig.h:85
The values of a switch of the configuration, and the end of a text.