|
MaxMatrix
Drive chained 8x8 LED dot matrix modules with MAX7219.
|
A byte of raw data, as a column of dots, which is no number. More...
Go to the source code of this file.
Classes | |
| class | max_matrix::Byte |
| A byte of raw data: eight dots of a column or a row, or the value of a register of the MAX7219. More... | |
Functions | |
| constexpr bool | max_matrix::ReadBit (Byte value, uint8_t bit) |
| Returns whether a bit is set, as the core's bitRead() for a number. | |
| constexpr Byte | max_matrix::WriteBit (Byte value, uint8_t bit, bool set) |
| Returns value with one bit set or cleared, as the core's bitWrite() for a number. | |
A byte of raw data, as a column of dots, which is no number.
|
constexpr |
Returns whether a bit is set, as the core's bitRead() for a number.
| [in] | value | The byte. |
| [in] | bit | The bit, 0 to 7. |
|
constexpr |
Returns value with one bit set or cleared, as the core's bitWrite() for a number.
| [in] | value | The byte. |
| [in] | bit | The bit, 0 to 7. |
| [in] | set | True to set the bit, false to clear it. |