AceSegmentWriter
0.1.0
Write decimal numbers, hex numbers, temperature, clock digits, characters, and strings to seven segment LED modules
|
Emulate a level led module using a left vertical bar and a right vertical bar on each digit. More...
#include <LevelWriter.h>
Public Member Functions | |
LevelWriter (T_LED_MODULE &ledModule) | |
Constructor. | |
T_LED_MODULE & | ledModule () |
Get the underlying LedModule. | |
PatternWriter< T_LED_MODULE > & | patternWriter () |
Get the underlying PatternWriter. | |
uint8_t | getMaxLevel () const |
Return the maximum level supported by this LED display. More... | |
void | writeLevel (uint8_t level) |
Write out the level bar, 2 levels per digit. | |
Emulate a level led module using a left vertical bar and a right vertical bar on each digit.
Since each digit can represent 2 levels, the range of levels for the entire LED display is [0, 2*numDigits]
.
T_LED_MODULE | the class of the underlying LED Module, often LedModule but other classes with the same generic public methods can be substituted |
Definition at line 48 of file LevelWriter.h.
|
inline |
Return the maximum level supported by this LED display.
The range is [0, maxLevel] inclusive.
Definition at line 65 of file LevelWriter.h.