AceSegment
0.4.0
An adjustable, configurable, and extensible framework for rendering seven segment LED displays.
|
An LedMatrixBase that whose group pins and element pins are wired directly to the MCU. More...
#include <LedMatrixDirect.h>
Public Member Functions | |
LedMatrixDirect (const H &hardware, uint8_t groupOnPattern, uint8_t elementOnPattern, uint8_t numGroups, const uint8_t *groupPins, uint8_t numElements, const uint8_t *elementPins) | |
void | begin () const |
void | end () const |
void | draw (uint8_t group, uint8_t elementPattern) const |
void | enableGroup (uint8_t group) const |
void | disableGroup (uint8_t group) const |
void | clear () const |
![]() | |
LedMatrixBase (uint8_t groupOnPattern, uint8_t elementOnPattern) | |
void | begin () const |
Configure the pins for the given LED wiring. | |
void | end () const |
Turn off the pins by doing the opposite of begin(). | |
void | draw (uint8_t, uint8_t) const |
Write element patterns for the given group. | |
void | disableGroup (uint8_t) const |
Disable the elements of given group. | |
void | enableGroup (uint8_t) const |
Enable the elements of given group. | |
void | clear () const |
Clear everything. | |
Friends | |
class | ::LedMatrixDirectTest_drawElements |
Additional Inherited Members | |
![]() | |
static constexpr uint8_t | kActiveHighPattern = 0xFF |
Bit pattern to indicate that logical 1 activates group or element. | |
static constexpr uint8_t | kActiveLowPattern = 0x00 |
Bit pattern to indicate that logical 0 activates group or element. | |
![]() | |
const uint8_t | mGroupXorMask |
const uint8_t | mElementXorMask |
An LedMatrixBase that whose group pins and element pins are wired directly to the MCU.
H | class that provides access to the hardware pins |
Definition at line 42 of file LedMatrixDirect.h.