AceSegmentWriter
0.1.0
Write decimal numbers, hex numbers, temperature, clock digits, characters, and strings to seven segment LED modules
|
Class that scrolls a string left or right. More...
#include <StringScroller.h>
Public Member Functions | |
StringScroller (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 LedModule. | |
uint8_t | getNumDigits () const |
Return the number of digits supported by this display instance. | |
void | initScrollLeft (const char *s) |
Set scroll string, clear the display, and prepare to scroll left. | |
void | initScrollLeft (const __FlashStringHelper *fs) |
Set scroll string, clear the display, and prepare to scroll left. | |
bool | scrollLeft () |
Scroll one position left. More... | |
void | initScrollRight (const char *s) |
Set scroll string, clear the display, and prepare to scroll right. | |
void | initScrollRight (const __FlashStringHelper *fs) |
Set scroll string, clear the display, and prepare to scroll right. | |
bool | scrollRight () |
Scroll one position left. More... | |
Class that scrolls a string left or right.
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 43 of file StringScroller.h.
|
inline |
Scroll one position left.
Return true when the scrolling is done and the display is cleared
Definition at line 86 of file StringScroller.h.
|
inline |
Scroll one position left.
Return true when the scrolling is done and the display is cleared
Definition at line 117 of file StringScroller.h.