AceSegment
0.4.0
An adjustable, configurable, and extensible framework for rendering seven segment LED displays.
|
25 #ifndef ACE_SEGMENT_STRING_WRITER_H
26 #define ACE_SEGMENT_STRING_WRITER_H
29 #include "CharWriter.h"
31 namespace ace_segment {
42 mCharWriter(charWriter)
59 void writeStringAt(uint8_t pos,
const char* s,
bool padRight =
false);
void writeStringAt(uint8_t pos, const char *s, bool padRight=false)
Write the string beginning at the specified position, filling up to numDigits.
General interface for writing LED segment patterns to the LED display module.
The CharWriter supports mapping of ASCII (0 - 127) characters to segment patterns supported by LedDis...
Class that writes out a string, collapsing '.
StringWriter(CharWriter &charWriter)
Constructor.
LedDisplay & display() const
Get the underlying LedDisplay.
LedDisplay & display() const
Get the underlying LedDisplay.