25 #ifndef ACE_SEGMENT_CHAR_WRITER_H 26 #define ACE_SEGMENT_CHAR_WRITER_H 29 #include "StyledDigit.h" 40 static const uint8_t kNumCharacters = 128;
54 void writeCharAt(uint8_t digit,
char c, StyledDigit::StyleType style);
70 static const uint8_t kCharacterArray[];
void writeStyleAt(uint8_t digit, StyledDigit::StyleType style)
Write the style for a given digit, leaving character unchanged.
void writeStyleAt(uint8_t digit, uint8_t style)
Write the style for a given digit, leaving pattern unchanged.
uint8_t getNumDigits()
Get the number of digits.
CharWriter(Renderer *renderer)
Constructor.
A class that knows how to translate an array of led segement bit patterns with style attributes to a ...
void writeDecimalPointAt(uint8_t digit, bool state=true)
Write the decimal point for the digit.
uint8_t getNumDigits()
Get the number of digits.
The CharWriter supports mapping of ASCII (0 - 127) characters to segment patterns supported by Render...
void writeDecimalPointAt(uint8_t digit, bool state=true)
Write the decimal point at digit.
void writeCharAt(uint8_t digit, char c)
Write the character at the specified position.