AceSegment
0.8.0
A framework for rendering seven segment LED displays using the TM1637, MAX7219, HT16K33, or 74HC595 controller chips
|
Class that scrolls a string left or right. More...
#include <StringScroller.h>
Public Member Functions | |
StringScroller (CharWriter &charWriter) | |
Constructor. | |
LedModule & | ledModule () const |
Get the underlying LedModule. | |
CharWriter & | 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.
Definition at line 39 of file StringScroller.h.
|
inline |
Scroll one position left.
Return true when the scrolling is done and the display is cleared
Definition at line 77 of file StringScroller.h.
|
inline |
Scroll one position left.
Return true when the scrolling is done and the display is cleared
Definition at line 108 of file StringScroller.h.