AceSegment
0.3.0
An adjustable, configurable, and extensible framework for rendering seven segment LED displays.
|
Public Member Functions | |
LedMatrixDirect (Hardware *hardware, uint8_t numGroups, uint8_t numElements) | |
void | setGroupPins (const uint8_t *groupPins) |
void | setElementPins (const uint8_t *elementPins) |
virtual void | configure () override |
Configure the pins for the given LED wiring. More... | |
virtual void | finish () override |
Turn off the pins by doing the opposite of configure(). More... | |
virtual void | enableGroup (uint8_t group) override |
virtual void | disableGroup (uint8_t group) override |
virtual void | drawElements (uint8_t pattern) override |
![]() | |
LedMatrix (Hardware *hardware, uint8_t numGroups, uint8_t numElements) | |
void | setCathodeOnGroup () |
LED negative terminals are on the group line. More... | |
void | setAnodeOnGroup () |
LED positive terminals are on the group line. More... | |
void | invertGroupLevels () |
If a transistor drives the group, invert the logic levels. More... | |
Additional Inherited Members | |
![]() | |
Hardware *const | mHardware |
const uint8_t | mNumGroups |
const uint8_t | mNumElements |
uint8_t | mGroupOn |
uint8_t | mGroupOff |
uint8_t | mElementOn |
uint8_t | mElementOff |
Definition at line 32 of file LedMatrixDirect.h.
|
overridevirtual |
Configure the pins for the given LED wiring.
Reimplemented from ace_segment::LedMatrix.
Definition at line 42 of file LedMatrixDirect.cpp.
|
overridevirtual |
Turn off the pins by doing the opposite of configure().
Reimplemented from ace_segment::LedMatrix.
Definition at line 57 of file LedMatrixDirect.cpp.