208 if (c < 0)
return (-1);
219 if ((c ==
'\f') || (c ==
'\n')) {
251 segments = pgm_read_byte(
m_font + c -
' ') | 0x80;
257 segments = pgm_read_byte(
m_font + c -
' ');
virtual void display_clear()
uint8_t m_y
Cursor position y.
virtual void set_cursor(uint8_t x, uint8_t y)
char m_latest
Latest character code.
const uint8_t MAX72XX::font[] __PROGMEM
uint8_t m_x
Cursor position x.
virtual int putchar(char c)
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).
virtual void write(uint8_t data)=0
Intensity (0..15, level).
void(* delay)(uint32_t ms)
static const uint8_t font[]
MAX72XX(LCD::IO *io, const uint8_t *font=NULL)
void set(Register reg, uint8_t value)
No decode for digits 7-0.
Digit 7 (encode or segment data).
const uint8_t * m_font
Font in program memory.
Scan Limit (0..7, digits 1..8).
Digit 0 (encode or segment data).
static const uint8_t WIDTH
LCD::IO * m_io
Display adapter.