25 #ifndef ACE_SEGMENT_HEX_WRITER_H 26 #define ACE_SEGMENT_HEX_WRITER_H 29 #include "StyledPattern.h" 41 static const uint8_t kNumCharacters;
42 static const uint8_t kSpace = 0x10;
43 static const uint8_t kPeriod = 0x11;
44 static const uint8_t kMinus = 0x12;
58 void writeHexAt(uint8_t digit, uint8_t c, uint8_t style);
74 static const uint8_t kCharacterArray[];
void writeStyleAt(uint8_t digit, uint8_t style)
Write the style for a given digit, leaving hex unchanged.
uint8_t getNumDigits()
Get the number of digits.
void writeStyleAt(uint8_t digit, uint8_t style)
Write the style for a given digit, leaving pattern unchanged.
A class that knows how to translate an array of led segement bit patterns with style attributes to a ...
The HexWriter supports mapping of Hex characters to segment patterns supported by Renderer...
void writeDecimalPointAt(uint8_t digit, bool state=true)
Write the decimal point at digit.
void writeDecimalPointAt(uint8_t digit, bool state=true)
Write the decimal point for the digit.
HexWriter(Renderer *renderer)
Constructor.
uint8_t getNumDigits()
Get the number of digits.
void writeHexAt(uint8_t digit, uint8_t c)
Write the hex at the specified position.