AceSegment  0.2.0
An adjustable, configurable, and extensible framework for rendering seven segment LED displays.
Public Member Functions | Protected Attributes | List of all members
ace_segment::LedMatrix Class Referenceabstract
Inheritance diagram for ace_segment::LedMatrix:
Inheritance graph
[legend]
Collaboration diagram for ace_segment::LedMatrix:
Collaboration graph
[legend]

Public Member Functions

 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...
 
virtual void configure ()
 
virtual void enableGroup (uint8_t group)=0
 
virtual void disableGroup (uint8_t group)=0
 
virtual void drawElements (uint8_t pattern)=0
 

Protected Attributes

Hardware *const mHardware
 
const uint8_t mNumGroups
 
const uint8_t mNumElements
 
uint8_t mGroupOn
 
uint8_t mGroupOff
 
uint8_t mElementOn
 
uint8_t mElementOff
 

Detailed Description

Definition at line 34 of file LedMatrix.h.

Member Function Documentation

◆ setAnodeOnGroup()

void ace_segment::LedMatrix::setAnodeOnGroup ( )
inline

LED positive terminals are on the group line.

Required.

Definition at line 53 of file LedMatrix.h.

◆ setCathodeOnGroup()

void ace_segment::LedMatrix::setCathodeOnGroup ( )
inline

LED negative terminals are on the group line.

Required.

Definition at line 45 of file LedMatrix.h.


The documentation for this class was generated from the following file: