AceSegmentWriter
0.1.0
Write decimal numbers, hex numbers, temperature, clock digits, characters, and strings to seven segment LED modules
|
Class that writes out a string, collapsing '. More...
#include <StringWriter.h>
Public Member Functions | |
StringWriter (CharWriter< T_LED_MODULE > &charWriter) | |
Constructor. | |
T_LED_MODULE & | ledModule () |
Get the underlying LedModule. | |
PatternWriter< T_LED_MODULE > & | patternWriter () |
Get the underlying PatternWriter. | |
CharWriter< T_LED_MODULE > & | charWriter () |
Get the underlying CharWriter. | |
uint8_t | writeStringAt (uint8_t pos, const char *cs, uint8_t numChar=255) |
Write c-string cs at specified position pos up to numChar characters. More... | |
uint8_t | writeStringAt (uint8_t pos, const __FlashStringHelper *fs, uint8_t numChar=255) |
Write flash string fs at specified position pos up to numChar characters. More... | |
void | clear () |
Clear the entire display. | |
void | clearToEnd (uint8_t pos) |
Clear the display from pos to the end. | |
Class that writes out a string, collapsing '.
' characters into the decimal point of the previous character. In other words, "0.1.2.3" takes up 4 digits, not 7 digits.
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 45 of file StringWriter.h.
|
inline |
Write flash string fs
at specified position pos
up to numChar
characters.
Definition at line 83 of file StringWriter.h.
|
inline |
Write c-string cs
at specified position pos
up to numChar
characters.
Definition at line 69 of file StringWriter.h.