21 #ifndef COSA_MAX72XX_HH 22 #define COSA_MAX72XX_HH 126 virtual void set_cursor(uint8_t x, uint8_t y);
158 } __attribute__((packed));
166 } __attribute__((packed));
174 } __attribute__((packed));
177 static const uint8_t
font[] PROGMEM;
189 void set(
Register reg, uint8_t value);
virtual void display_clear()
virtual void set_cursor(uint8_t x, uint8_t y)
char m_latest
Latest character code.
Digit 5 (encode or segment data).
virtual int putchar(char c)
Display Test (0..1, on/off).
Display Mode (shutdown, normal).
virtual void display_off()
virtual void display_on()
virtual void display_contrast(uint8_t level)
Decode Mode (0..255, digit bitset).
Digit 1 (encode or segment data).
Digit 6 (encode or segment data).
Intensity (0..15, level).
static const uint8_t font[]
Digit 2 (encode or segment data).
Digit 3 (encode or segment data).
MAX72XX(LCD::IO *io, const uint8_t *font=NULL)
Code B decode for digits 7-0.
No decode for digits 7-0.
static const uint8_t HEIGHT
Digit 7 (encode or segment data).
const uint8_t * m_font
Font in program memory.
static const uint8_t LINES
Scan Limit (0..7, digits 1..8).
Digit 0 (encode or segment data).
static const uint8_t WIDTH
LCD::IO * m_io
Display adapter.
Digit 4 (encode or segment data).