AceSegment
0.8.0
A framework for rendering seven segment LED displays using the TM1637, MAX7219, HT16K33, or 74HC595 controller chips
|
Class that writes out a string, collapsing '. More...
#include <StringWriter.h>
Public Member Functions | |
StringWriter (CharWriter &charWriter) | |
Constructor. | |
LedModule & | ledModule () |
Get the underlying LedModule. | |
CharWriter & | charWriter () |
Get the underlying LedModule. | |
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.
Definition at line 42 of file StringWriter.h.
|
inline |
Write flash string fs
at specified position pos
up to numChar
characters.
Definition at line 75 of file StringWriter.h.
|
inline |
Write c-string cs
at specified position pos
up to numChar
characters.
Definition at line 61 of file StringWriter.h.